Chapter 1
- Use your GVSU email to log into PL.
- Use this link to sign up for the course:
https://us.prairielearn.com/pl/course_instance/154954
- Open “In-Class 1”
- Log into PrairieLearn,
- navigate to the assessment named “In-Class 1”
- Launch the workspace
- Open
playspace
- “play” with it. Both the markdown and the code.
- Demonstrate some markdown features
Intro to coding
- Functions are named chunks of code that somebody else wrote
- They are “tools” for you to use.
print
is a function (“tool”) that you can use to make text appear on the screen.
- Variables are named “boxes” that hold values.
- Variables can be repeatedly re-assigned:
- Variables and numbers can be used in expressions:
- You can interpolate values into strings using
f""
print("The variable x currently holds the value {x}")
- Try it out!!!