README.md
Lesson 2: Variables and types
This lesson covers variables and types. You'll read a short explanation, try three small exercises and finish with a quiz.
Read the full lesson: https://glibcode.net/courses/python-basics/lessons/2
Files
variables.py: numbers, strings, booleans and converting input
Tip:
print(repr(x))shows the quotes and hidden characters thatprint(x)hides.
Tip: f-strings can show the expression too:
print(f"{total=}").
Run it
python3 variables.py
Exercises
See exercises.md. Ask in the forum once you've tried.