ОТКРЫТЫЙ КУРС · 50 lessons

Python Core

Start coding from scratch: from print and variables to functions, files and simple classes.

Learning with progressNotes can be read without registration. An account is required to save the tasks.
Who this is for

For complete beginners, including curious school students. You only need a browser and a willingness to try things yourself.

How the course works

50 lessons in five modules. Each lesson has short notes with an example, guided typing practice and an independent task. A 20-question exam follows the modules.

What you will learn

  • Explain how a program stores numbers and text and displays a result.
  • Use if statements and loops, and collect data in lists and dictionaries.
  • Write functions, handle errors, and solve simple problems involving files and classes.
  • Read a small program, find a mistake and check your own result.

Module path

  1. IntroductionFirst commands, variables and clear output.
  2. Confident startInput, strings, lists and your own functions.
  3. More opportunitiesDecisions, loops and repeated actions.
  4. Your own programsDictionaries, files and error handling.
  5. Convenient codeClasses and a small program built from familiar parts.

Your result

By the end you can build a small console program and take an exam covering every module. Homework answers stay hidden; you can correct and resubmit your work.

What comes next

This covers Python foundations. Take the VS Code course to work with real files on your computer; websites, libraries and larger projects come later.

01
MODULE 1 · УРОКИ 1–10

Introduction

First commands and small programs

  1. Lesson 1. First outputHow to show text · 8 мин →
  2. Lesson 2. VariablesNumber box · 10 мин →
  3. Lesson 3. StringsPut words together · 10 мин →
  4. Lesson 4. Multiplication.Think faster. · 11 мин →
  5. Lesson 5. ConditionsIf not. · 13 мин →
  6. Lesson 6. ListsA few things together · 10 мин →
  7. Lesson 7. List elementHow to get one thing · 11 мин →
  8. Lesson 8. Repeatsfor loop · 12 мин →
  9. Lesson 9. FunctionsA command named · 12 мин →
  10. Lesson 10. Mini-projectList and loop together · 15 мин →
02
MODULE 2 · УРОКИ 11–20

Confident start

Input, inspections and their tools

  1. Lesson 11. Introduction of textThe program asks a question. · 11 мин →
  2. Lesson 12. Number from responseTurn the text into a number · 12 мин →
  3. Lesson 13. Fractional numbersWhen the whole is small · 11 мин →
  4. Lesson 14. Truth or falsehoodHow the comparison works · 11 мин →
  5. Lesson 15. Two conditions at once.and · 13 мин →
  6. Lesson 16. while loopRepeat while you're right. · 13 мин →
  7. Lesson 17. Length of listSo many things. · 10 мин →
  8. Lesson 18. Add to the listMethod of append · 11 мин →
  9. Lesson 19. DictionaryLooking by name. · 12 мин →
  10. Lesson 20. Function with responseArgument and return · 15 мин →
03
MODULE 3 · УРОКИ 21–30

More opportunities

New conditions, collections and loop management

  1. Lesson 21. Another choice.elif between if and else · 12 мин →
  2. Lesson 22. At least one.or · 10 мин →
  3. Lesson 23. On the contrary.not · 10 мин →
  4. Lesson 24. Dividing remainderMark. · 11 мин →
  5. Lesson 25. Stop the loopCommand break · 12 мин →
  6. Lesson 26. Skip a stepCommand continue · 12 мин →
  7. Lesson 27. Piece of listSlices · 11 мин →
  8. Lesson 28. Immutable groupTuple · 10 мин →
  9. Lesson 29. Just different things.A set of set · 11 мин →
  10. Lesson 30. Update the dictionary.Change the key. · 12 мин →
04
MODULE 4 · УРОКИ 31–40

Your own programs

Errors, files and final project

  1. Lesson 31. Is there an element?Testing in · 10 мин →
  2. Lesson 32. Number and elementFunction enumerate · 12 мин →
  3. Lesson 33. New list quicklyList generator · 13 мин →
  4. Lesson 34. When the mistake happened.try and except · 13 мин →
  5. Lesson 35. Write the file down.with open and write · 14 мин →
  6. Lesson 36. Read the file.Mode r and read · 13 мин →
  7. Lesson 37. Finished moduleimport math · 11 мин →
  8. Lesson 38. The default argumentConvenient function · 12 мин →
  9. Lesson 39. SortingFunction sorted · 10 мин →
  10. Lesson 40. Outcome draftCount the purchases. · 18 мин →
05
MODULE 5 · УРОКИ 41–50

Convenient code

Working with text, dictionaries and objects

  1. Lesson 41. Small letters.Method of lower · 9 мин →
  2. Lesson 42. Extra gapsMethod of strip · 9 мин →
  3. Lesson 43. Split the sentence.Method of split · 10 мин →
  4. Lesson 44. Gather words.Method of join · 11 мин →
  5. Lesson 45. The key may not be.Method get in the dictionary · 10 мин →
  6. Lesson 46. All dictionary pairsMethod of items · 12 мин →
  7. Lesson 47. Two inputs to functionA few arguments · 11 мин →
  8. Lesson 48. Your type of dataClass and object · 13 мин →
  9. Lesson 49. Name for each objectMethod of __init__ · 15 мин →
  10. Lesson 50. Bottom line: cat saysMy method in class. · 18 мин →