Python, one lesson a day
The lessons
- Lesson 1 Python data types: int, float, str, bool, list, tuple, dict and set Meet the eight types you use every day in Python: whole numbers, decimals, text, True and False, lists, tuples, dictionaries and sets. What each one is for, how to check a value's type, and how to change it. Every example runs in the page.
- Lesson 2 print(), variables, f-strings and input(): your first program that talks back Show values with print(), keep and change them in variables, build sentences with f-strings, and ask the user questions with input(). Plus the mistake every beginner makes with input(), and a small receipt program to write yourself.
- Lesson 3 Newest lesson Python dictionaries: keys, values and everything inside Store values under names instead of positions: make dictionaries, read values (even from lists, tuples and dictionaries inside them), add and change keys, and see every key, value and pair with keys(), values() and items().