Python — Beginner
Python — Complete Tutorial (Beginner): 13 topics and 46 interactive cards with runnable examples and quizzes.
Topics
- Introduction to Programming & Python — What is Programming? · What is Python?
- Your First Python Program — Hello World! · Understanding print() · Shaping Your Output: sep, end and \n
- Variables — Your Data Containers — What is a Variable? · Assigning and Updating Variables · Naming Conventions · Variables in Action: A Full Example
- Data Types — Kinds of Values — What is a Data Type? · Numbers: int and float · Strings (str) · Booleans (bool) · None and type()
- Operators & Expressions — What is an Operator? · Arithmetic Operators · Comparison Operators · Logical Operators · Assignment Operators
- Conditional Statements — Making Decisions with if / elif / else · The match Statement · Conditional Expressions (the "ternary")
- Loops & Iterations — Why We Need Loops · The for Loop and range() · The while Loop · break and continue
- Functions — What is a Function? · Parameters and Return Values · Lambda Functions · Functions Working Together
- Lists — Collections of Data — What is a List? · Common List Methods · Looping Through Lists
- Dictionaries & Classes — What is a Dictionary? · Lists of Dictionaries · Classes: Blueprints with Behaviour
- Strings — Working with Text — Strings as Sequences of Characters · String Methods Reference · f-Strings
- Error Handling — try / except / finally · Raising Your Own Errors
- Mini-Projects & Practice — Simple Calculator · Grade Reporter · Number Guessing Game · Practice Exercises · Now You Try!