Python Fundamentals#
Learn Python from your very first print() to building a complete game. Every session explains
one idea with everyday examples (delivery trucks, photo albums, the annachi kadai down the street),
shows real code with its real output, and ends with hands-on tasks with solutions you can
reveal when you’re stuck.
Note
Free for everyone. No sign-up needed to read. Sign in to save your quiz scores, flashcard progress and notes.
How to use this course#
Install Python 3 from python.org (tick Add Python to PATH on Windows), or use Google Colab in the browser with nothing to install.
Type the examples yourself. Don’t copy-paste. Typing is how your fingers learn Python.
Do the tasks at the end of each session before opening a solution.
Take the quiz and flashcards linked at the bottom of each session.
Each session is based on a post from the Parottasalna blog, linked at the top of the page.
Part |
Sessions |
|---|---|
1 · First steps |
print(), variables and data types, how variables really work |
2 · Making decisions |
operators, conditions and input(), functions |
3 · Collections |
indexing and slicing, lists, tuples, dictionaries, sets |
4 · Going further |
generators, and a complete project: the number guessing game |
Part 1 · First steps
Part 2 · Making decisions
Part 3 · Collections