Home / Category

Python

Python (Part 5): Loops

Programming · Python

Python (Part 5): Loops

Part 5 of the Python series: repeat work without copy-pasting using for and while loops, the range() helper, plus break, continue, and enumerate().

Python (Part 4): Conditional Statements

Programming · Python

Python (Part 4): Conditional Statements

Part 4 of the Python series: make your programs decide with if, elif, and else — plus truthiness, the ternary shortcut, and match (Python 3.10+).

Python (Part 3): Operators

Programming · Python

Python (Part 3): Operators

Part 3 of the Python series: operators — arithmetic (incl. // and **), assignment, comparison, and logic, plus what Python does differently from PHP.

Python (Part 2): Variables and Data Types

Programming · Python

Python (Part 2): Variables and Data Types

Part 2 of the Python series: variables and data types — how Python stores text, numbers, and booleans, plus how its dynamic typing works (and differs from PHP).

Python (Part 1): Basic Syntax

Programming · Python

Python (Part 1): Basic Syntax

Starting a new beginner-to-intermediate series. Part 1 covers Python's basic syntax — running a script, the print() function, indentation, and comments.