Variables, data types, strings, operators, and your first programs
Write your first Python program in minutes — print(), variables, and f-strings. No setup, just code.
How Python stores data: int, float, str, bool, and None. You'll also learn type checking and when to convert between types.
Arithmetic in Python — integers, floats, division quirks, modulo, rounding, and a few real-world calculations to try.
Strings are everywhere in Python. Here you'll slice them, index them, concatenate them, and get comfortable with text manipulation.
The string methods you'll use daily: upper(), split(), join(), replace(), strip(), find(), and friends.
Three ways to format strings in Python — f-strings, .format(), and the older % style. You'll know when to reach for each.
True, False, and the logic that glues your programs together — comparisons, and/or/not, truthiness, and operator precedence.
print() does more than you think. Pair it with input() and you've got the basics of user interaction.
int(), float(), str(), bool() — how Python converts between types, when it happens automatically, and the gotchas to avoid.
Comments, docstrings, naming conventions, and PEP 8 — the habits that separate readable code from a wall of text.