English
Topic 2. Data types, variables, operations, console input/output, and control flow
Goal: learn to choose data types, convert console input, build branches and loops, validate data, and justify results using reference examples.
Lecture contents
- Objects, names, and data types — Objects, names, and dynamic typing · Numeric types and precision · Strings, None, and conversions
- Operations, input, and output — Operations and evaluation order · Functions, rounding, and modules · Console input and output
- Branching and pattern matching — Branching with if, elif, else · Structural pattern matching with match
- Loops and common algorithms — while and for loops · Common loop algorithms · Checking a program and common mistakes