RANIARANIA Academy

Operators, Input/Output & Type Conversion

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.

Python: Foundations BEGINNER · 150 min · Certificate on completion · 3 CPD points

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 preview15 min
Assignment and compound assignment operators15 min
Operators II — Comparison, Logical & Bitwise
Comparison and logical operators15 min
Bitwise operators and binary thinking15 min
Precedence & Input/Output
Operator precedence and associativity15 min
Reading input and printing output15 min
Type Conversion & Formatting
Type conversion with int, float and str15 min
String formatting and escape sequences15 min
Lab — 10 Programming Exercises & Solutions
Programming Exercises 1–515 min
Programming Exercises 6–1015 min