Master Python's operators — arithmetic, comparison, logical, bitwise and assignment — together with reading input, printing output, and converting between types. You will learn operator precedence cold and build small interactive programs, preparing you directly for the Python Institute PCEP certification.
Watch the free preview
Arithmetic operators and their quirks — free to watch, no account needed.
What you'll learn
- Apply arithmetic, assignment, comparison, logical and bitwise operators correctly in Python 3.10+
- Predict the result of expressions using operator precedence and associativity rules
- Read user input with input() and produce formatted output with print() and f-strings
- Convert between str, int and float safely using int(), float() and str()
- Build small interactive command-line programs that combine input, computation and formatted output
Syllabus
Operators I — Arithmetic & Assignment
Arithmetic operators and their quirksFree preview
Assignment and compound assignment operators
Operators II — Comparison, Logical & Bitwise
Comparison and logical operators
Bitwise operators and binary thinking
Precedence & Input/Output
Operator precedence and associativity
Reading input and printing output
Type Conversion & Formatting
Type conversion with int, float and str
String formatting and escape sequences
Lab — 10 Programming Exercises & Solutions
Programming Exercises 1–5
Programming Exercises 6–10