Learn Python — Basic
Learn Python fundamentals: variables, data types, conditions, loops, collections and functions. Build reports and simple menus, and check results with exceptions, assertions and mini-tests.
COURSE OVERVIEWREADY
Lessons: 29
Quizzes: 5
All steps: 34
$Ready to start
What you will learn
- Store and transform data in variables, and format clear messages.
- Control programs with conditions, loops and the break, continue and pass statements.
- Process lists, tuples, sets and dictionaries, and distinguish aliases from copies.
- Extract functions with parameters and return, handle exceptions, and verify results with assertions.
SYLLABUS / 34
Course curriculum
Work through the curriculum step by step. Completed stages are marked, and you can open the next available stage.
29 lessons5 quizzes34 steps total
- 01LESSONLESSON 1: Introduction and your first programAvailable now
- 02LESSONLESSON 2: print() and formatting simple messagesLocked
- 03LESSONLESSON 3: input() and safe parsingLocked
- 04LESSONLESSON 4: Variables and assignment — naming, reassignment, and readabilityLocked
- 05LESSONLESSON 5: Numeric types: int – you will perform basic calculations and a task counterLocked
- 06LESSONLESSON 6: Numeric types: float and roundingLocked
- 01QUIZQuiz 1: lessons 1–6Locked
- 07LESSONLESSON 7: Strings – basicsLocked
- 08LESSONLESSON 8: f-string and operations on stringsLocked
- 09LESSONLESSON 9: Boolean values and comparison operatorsLocked
- 10LESSONLESSON 10: if/elif/else conditional statements — different paths of executionLocked
- 11LESSONLESSON 11: Logical operators and compound expressionsLocked
- 12LESSONLESSON 12: while loops — countdown and deterministic retryLocked
- 02QUIZQuiz 2: lessons 7–12Locked
- 13LESSONLESSON 13: for loops and range – you will iterate over ranges and collectionsLocked
- 14LESSONLESSON 14: break/continue/pass — flow control in loopsLocked
- 15LESSONLESSON 15: Lists — introduction and basic operationsLocked
- 16LESSONLESSON 16: Lists – methods and modifications: append, remove, len and slicingLocked
- 17LESSONLESSON 17: Tuples and unpacking — you will safely group immutable dataLocked
- 18LESSONLESSON 18: Sets (set) – uniqueness and operationsLocked
- 03QUIZQuiz 3: lessons 13–18Locked
- 19LESSONLESSON 19: Dictionaries (dict) – introduction – you will link keys with states and parametersLocked
- 20LESSONLESSON 20: Dictionaries – methods and updating (get/update/items)Locked
- 21LESSONLESSON 21: Functions – definition and call: you'll extract repeated code with returnLocked
- 22LESSONLESSON 22: Parameters and return value — functions that process dataLocked
- 23LESSONLESSON 23: Variable scope and mutability – list and dictionary aliases and side effectsLocked
- 24LESSONLESSON 24: Type conversions (str/int/float/bool) — you'll safely convert types in validationLocked
- 04QUIZQuiz 4: lessons 19–24Locked
- 25LESSONLESSON 25: Exception handling with try/exceptLocked
- 26LESSONLESSON 26: Assertions and mini-tests — checking function results with assertLocked
- 27LESSONLESSON 27: Small modules and import in a single fileLocked
- 28LESSONLESSON 28: A simple text menuLocked
- 29LESSONLESSON 29: Putting knowledge together – a report from lists and dictionariesLocked
- 05QUIZQuiz 5: lessons 25–29Locked
- +EXAMConfirm your skills with an examPreparing with this course is optional. You can choose a certification exam for this language and level without completing the course or quizzes. Check your account access and confirm exam authorization.Other status