- How programs work
- What Python is and why we use it
- Setting up Python 3 and the development environment
- Running Python interactively and with
.py
files
- Using documentation (
help()
,dir()
) - Reading official Python docs
- Code style and PEP 8 basics
- Integers, floats, strings, booleans
- Type conversion
- Assigning values
- Arithmetic, comparison, and logical operators
- Indexing, slicing, concatenation
- Common string methods and f-strings
- Creating, accessing, modifying
- When to use each type
if
,elif
,else
statementsfor
andwhile
loopsbreak
andcontinue
- Pattern Matching with
match
/case
(Python 3.10+)- Basic value matching
- Default case with
_
- Matching patterns like tuples and lists
- Defining and calling
- Parameters, arguments, and return values
- Scope (local vs global)
- Standard library overview (
math
,random
,datetime
,os
)
- Reading and writing text files
- Context managers (
with
statement)
try
,except
,finally
- Reading tracebacks
- Using
print()
and the debugger
- List comprehensions
- Sets and set operations
- Intro to classes and objects