A playground for absolute beginners
Each numbered task introduces one fundamental concept. The tasks are in the markdown (.md) files. My solutions are inside the python (.py) files - but there's countless ways achieve the same goal!
- Hello World & the
printfunction - Variables & primitive types
- Comments & good code hygiene
- Numbers and arithmetic
- Number utilities (
abs,round, etc.) - f-strings for readable output
- String methods (upper, find, slice…)
- Built-in number functions
- User input & type conversion
- Comparison operators (
<,==, …) - Conditional statements (
if / elif / else) - Logical operators (
and,or,not) forloops & iteration patternswhileloops & break/continue- Functions, arguments & return values
Additionally, there are multiple exercises, which might teach you a little trick or two.
Prerequisites: Python 3.10 + (anything later works too)
Tip: Work through the tasks in order - each builds gently on the last.
Got a typo, a clearer example, or a cool beginner trick? Open an issue, they are welcome!