Knowledge baseExam Center
ENEnglish
Choose language13

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
Knowledge base for this technology

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.

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
  1. 01LESSON
    LESSON 1: Introduction and your first programAvailable now
  2. 02LESSON
    LESSON 2: print() and formatting simple messagesLocked
  3. 03LESSON
    LESSON 3: input() and safe parsingLocked
  4. 04LESSON
    LESSON 4: Variables and assignment — naming, reassignment, and readabilityLocked
  5. 05LESSON
    LESSON 5: Numeric types: int – you will perform basic calculations and a task counterLocked
  6. 06LESSON
    LESSON 6: Numeric types: float and roundingLocked
  7. 01QUIZ
    Quiz 1: lessons 1–6Locked
  8. 07LESSON
    LESSON 7: Strings – basicsLocked
  9. 08LESSON
    LESSON 8: f-string and operations on stringsLocked
  10. 09LESSON
    LESSON 9: Boolean values and comparison operatorsLocked
  11. 10LESSON
    LESSON 10: if/elif/else conditional statements — different paths of executionLocked
  12. 11LESSON
    LESSON 11: Logical operators and compound expressionsLocked
  13. 12LESSON
    LESSON 12: while loops — countdown and deterministic retryLocked
  14. 02QUIZ
    Quiz 2: lessons 7–12Locked
  15. 13LESSON
    LESSON 13: for loops and range – you will iterate over ranges and collectionsLocked
  16. 14LESSON
    LESSON 14: break/continue/pass — flow control in loopsLocked
  17. 15LESSON
    LESSON 15: Lists — introduction and basic operationsLocked
  18. 16LESSON
    LESSON 16: Lists – methods and modifications: append, remove, len and slicingLocked
  19. 17LESSON
    LESSON 17: Tuples and unpacking — you will safely group immutable dataLocked
  20. 18LESSON
    LESSON 18: Sets (set) – uniqueness and operationsLocked
  21. 03QUIZ
    Quiz 3: lessons 13–18Locked
  22. 19LESSON
    LESSON 19: Dictionaries (dict) – introduction – you will link keys with states and parametersLocked
  23. 20LESSON
    LESSON 20: Dictionaries – methods and updating (get/update/items)Locked
  24. 21LESSON
    LESSON 21: Functions – definition and call: you'll extract repeated code with returnLocked
  25. 22LESSON
    LESSON 22: Parameters and return value — functions that process dataLocked
  26. 23LESSON
    LESSON 23: Variable scope and mutability – list and dictionary aliases and side effectsLocked
  27. 24LESSON
    LESSON 24: Type conversions (str/int/float/bool) — you'll safely convert types in validationLocked
  28. 04QUIZ
    Quiz 4: lessons 19–24Locked
  29. 25LESSON
    LESSON 25: Exception handling with try/exceptLocked
  30. 26LESSON
    LESSON 26: Assertions and mini-tests — checking function results with assertLocked
  31. 27LESSON
    LESSON 27: Small modules and import in a single fileLocked
  32. 28LESSON
    LESSON 28: A simple text menuLocked
  33. 29LESSON
    LESSON 29: Putting knowledge together – a report from lists and dictionariesLocked
  34. 05QUIZ
    Quiz 5: lessons 25–29Locked
  35. +EXAM
    Confirm 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