Programming · Daily chapter
🐍 Python
10 chapters · Notes, runnable code and practice
Day
01
01
Introduction to Python
What Python is, why it is popular, how the interpreter works, and how to run your first Python program.
Day
02
02
Variables in Python
Create and use variables in Python. Dynamic typing, common types and assignment patterns.
Day
03
03
Identifiers & Keywords in Python
Rules for naming identifiers, the list of Python keywords, and PEP 8 naming conventions.
Day
04
04
Data Types in Python
Numbers, strings, booleans, lists, tuples, dicts, sets — Python's built-in types and how to convert between them.
Day
05
05
Operators in Python
Arithmetic, comparison, logical, assignment, identity and membership operators.
Day
06
06
Conditional Statements in Python
if, elif, else, ternary expression and match-case in Python.
Day
07
07
Loops in Python
for and while loops, range(), break, continue, else on loops and enumerate.
Day
08
08
Lists in Python
Create, index, slice and mutate lists. Common list methods and pitfalls.
Day
09
09
Functions in Python
Define, call, return values, use default and keyword arguments, and lambdas.
Day
10
10
Class & Object in Python
Define classes, create objects, use __init__, self and instance methods — the entry to OOP in Python.