<!DOCTYPE html>
<html class="h-100" data-bs-theme="light" data-mantine-color-scheme="light" lang="en" prefix="og: https://ogp.me/ns#">
<head>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<link crossorigin="true" href="https://cdn.hexlet.io" rel="preconnect">
<meta content="aa2vrdtq64dub8knuf83lwywit311w" name="facebook-domain-verification">
<link href="/favicon.ico" rel="icon" sizes="any">
<link href="/favicon.svg" rel="icon" type="image/svg+xml">
<link href="/apple-touch-icon.png" rel="apple-touch-icon">
<link href="/manifest.webmanifest" rel="manifest">
<script>
//<![CDATA[
window.gon={};gon.ym_counter="25559621";gon.is_bot=true;gon.applications={};gon.current_user={"id":null,"last_viewed_notification_id":null,"email":null,"state":null,"first_name":"","last_name":"","current_program":null,"current_team":null,"full_name":"","guest":true,"can_use_paid_features":false,"is_hexlet_employee":false,"sanitized_phone_number":"","can_subscribe":true,"can_renew_education":false};gon.token="eSuHkWcZPAiKLtSCcciC2vn21ORSKUfm18YJh6n2_Loq7eqnRnIH6O0kK2rDVrUb9Vxav543Xep1Q8OU5CojYQ";gon.locale="en";gon.language="en";gon.theme="light";gon.rails_env="production";gon.mobile=false;gon.google={"analytics_key":"UA-1360700-51","optimize_key":"GTM-5QDVFPF"};gon.captcha={"google_v3_site_key":"6LenGbgZAAAAAM7HbrDbn5JlizCSzPcS767c9vaY","yandex_site_key":"ysc1_Vyob5ZPPUdPBsu0ykt8bVFdzsfpoVjQChLGl2b4g19647a89","verification_failed":null};gon.social_signin=false;gon.typoreporter_google_form_id="1FAIpQLScNwxM8rjQRRWqW5G6dn6-0NvLUblFemy7EvA9VsJ7Ov5wXqA";
//]]>
</script>
<meta charset="utf-8">
<title>Python for Beginners: a free course, learning from scratch</title>
<meta name="description" content="Introduction to Python Programming" course for beginners. Learn the basics of Python programming from scratch: creating programs, using language constructs (conditions, loops, functions, and others)">
<link rel="canonical" href="https://hexlet.io/courses/python-basics">
<meta property="og:description" content="Introduction to Python Programming" course for beginners. Learn the basics of Python programming from scratch: creating programs, using language constructs (conditions, loops, functions, and others)">
<meta property="og:title" content="Python for Beginners: a free course, learning from scratch">
<meta property="og:url" content="https://hexlet.io/courses/python-basics">
<meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="wR5J0IFPm4MdYdOri8h5u24qyX-eeKrSvYtqiDKdiVKS2CTmoCSgY3prLEM5Vk56YoBHJFJmsN4fDqCbf0FWiQ" />
<script src="/vite/assets/inertia-CgrHVkgd.js" crossorigin="anonymous" type="module"></script><link rel="modulepreload" href="/vite/assets/chunk-DsPFFUou.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/preload-helper-C1cfMHAs.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/init-0bhwJkNI.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/ahoy-BXKrsWjp.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/analytics-Du9ljYPK.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/ErrorFallbackBlock-V3hfk_CP.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/RootLayout-CUZzAr0T.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/Surface-DbDKujDz.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/gon-B-jV56Ol.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/mantine-DOJkeu70.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/utils-ClTF9s_T.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/routes-mvvEXZQ8.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/index.esm-DATLpQdV.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/Modal-BhY0AP_c.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/Textarea-P1s4q94S.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/exports-BsSGGK2I.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/dayjs.min-Bfba02I7.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/client-CYyKzrjQ.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/react-dom-SJZekO2j.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/useTranslation-bo78L81P.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/compiler-runtime-BhqaZ6vG.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/jsx-runtime-DlXMvSuQ.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/react-CFtMU8gd.js" as="script" crossorigin="anonymous">
<link rel="stylesheet" href="/vite/assets/application-BhDYOUva.css" />
<script src="/vite/assets/application-ZyVHkzwO.js" crossorigin="anonymous" type="module"></script><link rel="modulepreload" href="/vite/assets/chunk-DsPFFUou.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/autocomplete-BokUl44d.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/routes-mvvEXZQ8.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/createPopper-gQnwoPhY.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/js.cookie-CB1F2-VC.js" as="script" crossorigin="anonymous"><link rel="stylesheet" href="/vite/assets/application-BhDYOUva.css" media="screen" />
<!-- Google Tag Manager - deferred -->
<script>
// dataLayer stub сразу — пуши работают до загрузки скрипта
window.dataLayer = window.dataLayer || [];
// Сам скрипт — отложенно после load
window.addEventListener('load', function() {
setTimeout(function() {
dataLayer.push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
var j = document.createElement('script');
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=GTM-WK88TH';
document.head.appendChild(j);
}, 1500);
});
</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe height="0" src="https://www.googletagmanager.com/ns.html?id=GTM-WK88TH" style="display:none;visibility:hidden" width="0"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<header class="sticky-top bg-body">
<nav class="navbar navbar-expand-lg">
<div class="container-xxl">
<a class="navbar-brand" href="/"><img alt="Hexlet logo" height="24" src="https://hexlet.io/vite/assets/logo_en_light-FS-yL6XB.svg" width="96">
</a><button aria-controls="collapsable" aria-expanded="false" aria-label="Menu" class="navbar-toggler border-0 mb-0 mt-1" data-bs-target="#collapsable" data-bs-toggle="collapse">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapsable">
<ul class="navbar-nav mb-lg-0 mt-lg-1">
<li class="nav-item dropdown">
<button aria-haspopup class="btn nav-link" data-bs-toggle="dropdown" type="button">
All courses
<span class="bi bi-chevron-down align-middle ms-1"></span>
</button>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item d-flex py-2" href="/courses"><div class="fw-bold me-auto">Everything</div>
<div class="text-muted">8</div>
</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li class="dropdown-item">
<b>Popular categories</b>
</li>
<li>
<a class="dropdown-item py-2" href="/courses_backend-development">Backend Development
</a></li>
<li>
<a class="dropdown-item py-2" href="/courses_devops">DevOps
</a></li>
<li>
<a class="dropdown-item py-2" href="/courses_frontend-development">Frontend Development
</a></li>
<li>
<a class="dropdown-item py-2" href="/courses_testing">Testing
</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li class="dropdown-item">
<b>Popular courses</b>
</li>
<li>
<a class="dropdown-item py-2" href="/programs/frontend">Frontend Developer
</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<button aria-haspopup class="btn nav-link" data-bs-toggle="dropdown" type="button">
About Hexlet
<span class="bi bi-chevron-down align-middle"></span>
</button>
<ul class="dropdown-menu bg-body">
<li>
<a class="dropdown-item py-2" href="/pages/about">About company
</a></li>
<li>
<a class="dropdown-item py-2" href="/blog">Blog
</a></li>
<li>
<span class="dropdown-item py-2 external-link" data-href="https://special.hexlet.io/hse-research" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.results">Results</span>
</span></li>
<li>
<span class="dropdown-item py-2 external-link" data-href="https://career.hexlet.io" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.career">Career</span>
</span></li>
<li>
<a class="dropdown-item py-2" href="/testimonials">Testimonials
</a></li>
<li>
<span class="dropdown-item py-2 external-link" data-href="https://t.me/hexlet_help_bot" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.support">Support</span>
</span></li>
<li>
<span class="dropdown-item py-2 external-link" data-href="https://special.hexlet.io/referal-program/?promo_creative=priglasite-druzei&promo_name=referal-program&promo_position=promo_position&promo_start=010724&promo_type=link" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.referal_program">Referal Program</span>
</span></li>
<li>
<span class="dropdown-item py-2 external-link" data-href="https://special.hexlet.io/certificate" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.certificates">Certificates</span>
</span></li>
<li>
<span class="dropdown-item py-2 external-link" data-href="https://hh.ru/employer/4307094" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.vacancies">Vacancies</span>
</span></li>
<li>
<span class="dropdown-item d-flex external-link" rel="noopener noreferrer nofollow" data-href="https://b2b.hexlet.io" data-target="_blank" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.teams">Teams</span>
</span></li>
<li>
<span class="dropdown-item d-flex external-link" rel="noopener noreferrer nofollow" data-href="https://hexly.ru/" data-target="_blank" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.college">College</span>
</span></li>
<li>
<span class="dropdown-item d-flex external-link" rel="noopener noreferrer nofollow" data-href="https://hexlyschool.ru/" data-target="_blank" role="button"><span class="translation_missing" title="translation missing: en.layouts.header.private_school">Private School</span>
</span></li>
</ul>
</li>
</ul>
<ul class="navbar-nav flex-lg-row align-items-lg-center gap-2 ms-auto">
<li>
<a class="nav-link" aria-label="Switch theme" href="/theme/switch?new_theme=dark"><span aria-hidden="true" class="bi bi-moon"></span>
</a></li>
<li>
<span data-target="_self" class="nav-link external-link" data-href="/u/new" role="button"><span>Sign up</span>
</span></li>
<li>
<span data-target="_self" class="nav-link external-link" data-href="https://hexlet.io/session/new" role="button"><span>Sign in</span>
</span></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="x-container-xxxl">
</div>
<main class="mb-6 min-vh-100 h-100">
<link rel="preload" as="image" href="https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"/><div id="app" data-page="{"component":"web/courses/show","props":{"errors":{},"locale":"en","language":"en","httpsHost":"https://hexlet.io","host":"hexlet.io","colorScheme":"light","auth":{"user":{"id":null,"last_viewed_notification_id":null,"email":null,"state":null,"first_name":"","last_name":"","current_program":null,"current_team":null,"full_name":"","guest":true,"can_use_paid_features":false,"is_hexlet_employee":false,"sanitized_phone_number":"","can_subscribe":true,"can_renew_education":false}},"cloudflareTurnstileSiteKey":"0x4AAAAAAA15KmeFXzd2H0Xo","vkIdClientId":"51586979","yandexIdClientId":null,"formAuthToken":"gdfT3eniXUPSmHaCw-SDObJk3EVfnf2B4XuW1ZKW-aHSEb7ryIlmo7WSiWpxerT4vs5SHpOD541D_lzG30omeg","course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"courseMember":null,"questionsCount":134,"exercisesCount":41,"lessons":[{"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","exercise_id":null},{"ordered_units":[{"id":8919,"name":"theory","url":"/courses/python-basics/lessons/hello-world/theory_unit"},{"id":9359,"name":"quiz","url":"/courses/python-basics/lessons/hello-world/quiz_unit"},{"id":9550,"name":"exercise","url":"/courses/python-basics/lessons/hello-world/exercise_unit"}],"id":3933,"slug":"hello-world","state":"approved","name":"Hello, World!","course_order":110,"goal":"Writing the first program","exercise_id":2662},{"ordered_units":[{"id":8921,"name":"theory","url":"/courses/python-basics/lessons/instructions/theory_unit"},{"id":9360,"name":"quiz","url":"/courses/python-basics/lessons/instructions/quiz_unit"},{"id":9551,"name":"exercise","url":"/courses/python-basics/lessons/instructions/exercise_unit"}],"id":3934,"slug":"instructions","state":"approved","name":"Instructions","course_order":130,"goal":"Learning the basics of building programs in Python","exercise_id":2663},{"ordered_units":[{"id":8923,"name":"theory","url":"/courses/python-basics/lessons/arithmetics/theory_unit"},{"id":9361,"name":"quiz","url":"/courses/python-basics/lessons/arithmetics/quiz_unit"},{"id":9552,"name":"exercise","url":"/courses/python-basics/lessons/arithmetics/exercise_unit"}],"id":3935,"slug":"arithmetics","state":"approved","name":"Arithmetic operations","course_order":140,"goal":"Learning how to express arithmetic operations in code","exercise_id":2664},{"ordered_units":[{"id":8925,"name":"theory","url":"/courses/python-basics/lessons/linting/theory_unit"},{"id":9362,"name":"quiz","url":"/courses/python-basics/lessons/linting/quiz_unit"},{"id":9585,"name":"exercise","url":"/courses/python-basics/lessons/linting/exercise_unit"}],"id":3936,"slug":"linting","state":"approved","name":"Design errors, syntax and linter","course_order":150,"goal":"Exploring types of errors and ways to fix them","exercise_id":2665},{"ordered_units":[{"id":8927,"name":"theory","url":"/courses/python-basics/lessons/strings/theory_unit"},{"id":9363,"name":"quiz","url":"/courses/python-basics/lessons/strings/quiz_unit"},{"id":9586,"name":"exercise","url":"/courses/python-basics/lessons/strings/exercise_unit"}],"id":3937,"slug":"strings","state":"approved","name":"Strings","course_order":160,"goal":"Learning to work with strings","exercise_id":2666},{"ordered_units":[{"id":8929,"name":"theory","url":"/courses/python-basics/lessons/variables/theory_unit"},{"id":9364,"name":"quiz","url":"/courses/python-basics/lessons/variables/quiz_unit"},{"id":9587,"name":"exercise","url":"/courses/python-basics/lessons/variables/exercise_unit"}],"id":3938,"slug":"variables","state":"approved","name":"Variables","course_order":180,"goal":"Learning to store information and reuse existing data","exercise_id":2667},{"ordered_units":[{"id":8931,"name":"theory","url":"/courses/python-basics/lessons/variables-expression/theory_unit"},{"id":9365,"name":"quiz","url":"/courses/python-basics/lessons/variables-expression/quiz_unit"},{"id":9588,"name":"exercise","url":"/courses/python-basics/lessons/variables-expression/exercise_unit"}],"id":3939,"slug":"variables-expression","state":"approved","name":"Expressions in definitions","course_order":181,"goal":"Learning to use variables and simplify code","exercise_id":2668},{"ordered_units":[{"id":8933,"name":"theory","url":"/courses/python-basics/lessons/naming/theory_unit"},{"id":9366,"name":"quiz","url":"/courses/python-basics/lessons/naming/quiz_unit"},{"id":9589,"name":"exercise","url":"/courses/python-basics/lessons/naming/exercise_unit"}],"id":3940,"slug":"naming","state":"approved","name":"Naming","course_order":182,"goal":"Learning how to name variables correctly","exercise_id":2669},{"ordered_units":[{"id":8935,"name":"theory","url":"/courses/python-basics/lessons/interpolation/theory_unit"},{"id":9367,"name":"quiz","url":"/courses/python-basics/lessons/interpolation/quiz_unit"},{"id":9590,"name":"exercise","url":"/courses/python-basics/lessons/interpolation/exercise_unit"}],"id":3941,"slug":"interpolation","state":"approved","name":"Interpolation","course_order":183,"goal":"Learning another way to work with strings in Python","exercise_id":2670},{"ordered_units":[{"id":8937,"name":"theory","url":"/courses/python-basics/lessons/symbols/theory_unit"},{"id":9368,"name":"quiz","url":"/courses/python-basics/lessons/symbols/quiz_unit"},{"id":9591,"name":"exercise","url":"/courses/python-basics/lessons/symbols/exercise_unit"}],"id":3942,"slug":"symbols","state":"approved","name":"Extract characters from a string","course_order":185,"goal":"Learning how to get values from strings","exercise_id":2671},{"ordered_units":[{"id":8939,"name":"theory","url":"/courses/python-basics/lessons/slises/theory_unit"},{"id":9369,"name":"quiz","url":"/courses/python-basics/lessons/slises/quiz_unit"},{"id":9592,"name":"exercise","url":"/courses/python-basics/lessons/slises/exercise_unit"}],"id":3943,"slug":"slises","state":"approved","name":"String cuts","course_order":187,"goal":"Learning how to extract substrings","exercise_id":2672},{"ordered_units":[{"id":8941,"name":"theory","url":"/courses/python-basics/lessons/data-types/theory_unit"},{"id":9370,"name":"quiz","url":"/courses/python-basics/lessons/data-types/quiz_unit"},{"id":9593,"name":"exercise","url":"/courses/python-basics/lessons/data-types/exercise_unit"}],"id":3944,"slug":"data-types","state":"approved","name":"Data types","course_order":190,"goal":"Learning how to multiply a number by a string","exercise_id":2673},{"ordered_units":[{"id":8943,"name":"theory","url":"/courses/python-basics/lessons/immutability-of-primitive-types/theory_unit"},{"id":9371,"name":"quiz","url":"/courses/python-basics/lessons/immutability-of-primitive-types/quiz_unit"},{"id":9594,"name":"exercise","url":"/courses/python-basics/lessons/immutability-of-primitive-types/exercise_unit"}],"id":3945,"slug":"immutability-of-primitive-types","state":"approved","name":"Immutability and primitive types","course_order":192,"goal":"Explore whether Python can change strings or numbers","exercise_id":2674},{"ordered_units":[{"id":8945,"name":"theory","url":"/courses/python-basics/lessons/calling-functons/theory_unit"},{"id":9372,"name":"quiz","url":"/courses/python-basics/lessons/calling-functons/quiz_unit"},{"id":9595,"name":"exercise","url":"/courses/python-basics/lessons/calling-functons/exercise_unit"}],"id":3946,"slug":"calling-functons","state":"approved","name":"Functions and their calls","course_order":210,"goal":"Learning to use ready-made functions","exercise_id":2675},{"ordered_units":[{"id":8947,"name":"theory","url":"/courses/python-basics/lessons/signature/theory_unit"},{"id":9373,"name":"quiz","url":"/courses/python-basics/lessons/signature/quiz_unit"},{"id":9602,"name":"exercise","url":"/courses/python-basics/lessons/signature/exercise_unit"}],"id":3947,"slug":"signature","state":"approved","name":"Function Signature","course_order":212,"goal":"Learning how the function takes and returns values","exercise_id":2676},{"ordered_units":[{"id":8949,"name":"theory","url":"/courses/python-basics/lessons/call-function-expression/theory_unit"},{"id":9374,"name":"quiz","url":"/courses/python-basics/lessons/call-function-expression/quiz_unit"},{"id":9603,"name":"exercise","url":"/courses/python-basics/lessons/call-function-expression/exercise_unit"}],"id":3948,"slug":"call-function-expression","state":"approved","name":"Function calls and expressions","course_order":220,"goal":"Learning to use the result of the functions","exercise_id":2677},{"ordered_units":[{"id":8952,"name":"theory","url":"/courses/python-basics/lessons/deterministic/theory_unit"},{"id":9375,"name":"quiz","url":"/courses/python-basics/lessons/deterministic/quiz_unit"},{"id":9604,"name":"exercise","url":"/courses/python-basics/lessons/deterministic/exercise_unit"}],"id":3950,"slug":"deterministic","state":"approved","name":"Determinism","course_order":226,"goal":"Exploring some function's properties and their features","exercise_id":2678},{"ordered_units":[{"id":8954,"name":"theory","url":"/courses/python-basics/lessons/stdlib/theory_unit"},{"id":9376,"name":"quiz","url":"/courses/python-basics/lessons/stdlib/quiz_unit"},{"id":9605,"name":"exercise","url":"/courses/python-basics/lessons/stdlib/exercise_unit"}],"id":3951,"slug":"stdlib","state":"approved","name":"Standard Library","course_order":228,"goal":"Introducing the standard library","exercise_id":2679},{"ordered_units":[{"id":8956,"name":"theory","url":"/courses/python-basics/lessons/methods/theory_unit"},{"id":9377,"name":"quiz","url":"/courses/python-basics/lessons/methods/quiz_unit"},{"id":9606,"name":"exercise","url":"/courses/python-basics/lessons/methods/exercise_unit"}],"id":3952,"slug":"methods","state":"approved","name":"Properties and methods","course_order":230,"goal":"Learning to use Python's built-in data attributes","exercise_id":2680},{"ordered_units":[{"id":8958,"name":"theory","url":"/courses/python-basics/lessons/methods-chain/theory_unit"},{"id":9378,"name":"quiz","url":"/courses/python-basics/lessons/methods-chain/quiz_unit"},{"id":9609,"name":"exercise","url":"/courses/python-basics/lessons/methods-chain/exercise_unit"}],"id":3953,"slug":"methods-chain","state":"approved","name":"Chain of methods","course_order":235,"goal":"Learning how to use Python's built-in data attributes","exercise_id":2683},{"ordered_units":[{"id":8960,"name":"theory","url":"/courses/python-basics/lessons/functions-define/theory_unit"},{"id":9379,"name":"quiz","url":"/courses/python-basics/lessons/functions-define/quiz_unit"},{"id":9607,"name":"exercise","url":"/courses/python-basics/lessons/functions-define/exercise_unit"}],"id":3954,"slug":"functions-define","state":"approved","name":"Definition of functions","course_order":240,"goal":"Learning to create functions","exercise_id":2681},{"ordered_units":[{"id":8962,"name":"theory","url":"/courses/python-basics/lessons/functions-return/theory_unit"},{"id":9380,"name":"quiz","url":"/courses/python-basics/lessons/functions-return/quiz_unit"},{"id":9608,"name":"exercise","url":"/courses/python-basics/lessons/functions-return/exercise_unit"}],"id":3955,"slug":"functions-return","state":"approved","name":"Return values","course_order":242,"goal":"Learning to use the result of the function","exercise_id":2682},{"ordered_units":[{"id":8964,"name":"theory","url":"/courses/python-basics/lessons/functions-arguments/theory_unit"},{"id":9381,"name":"quiz","url":"/courses/python-basics/lessons/functions-arguments/quiz_unit"},{"id":9610,"name":"exercise","url":"/courses/python-basics/lessons/functions-arguments/exercise_unit"}],"id":3956,"slug":"functions-arguments","state":"approved","name":"Function parameters","course_order":244,"goal":"Learning how to transfer data to a function","exercise_id":2684},{"ordered_units":[{"id":8966,"name":"theory","url":"/courses/python-basics/lessons/default-parameters/theory_unit"},{"id":9382,"name":"quiz","url":"/courses/python-basics/lessons/default-parameters/quiz_unit"},{"id":9611,"name":"exercise","url":"/courses/python-basics/lessons/default-parameters/exercise_unit"}],"id":3957,"slug":"default-parameters","state":"approved","name":"Optional function parameters","course_order":245,"goal":"Learning how to set the default values","exercise_id":2685},{"ordered_units":[{"id":8969,"name":"theory","url":"/courses/python-basics/lessons/named-arguments/theory_unit"},{"id":9383,"name":"quiz","url":"/courses/python-basics/lessons/named-arguments/quiz_unit"},{"id":9645,"name":"exercise","url":"/courses/python-basics/lessons/named-arguments/exercise_unit"}],"id":3959,"slug":"named-arguments","state":"approved","name":"Named arguments","course_order":246,"goal":"Exploring another type of arguments","exercise_id":2697},{"ordered_units":[{"id":8971,"name":"theory","url":"/courses/python-basics/lessons/environment/theory_unit"},{"id":9384,"name":"quiz","url":"/courses/python-basics/lessons/environment/quiz_unit"},{"id":9646,"name":"exercise","url":"/courses/python-basics/lessons/environment/exercise_unit"}],"id":3960,"slug":"environment","state":"approved","name":"Environment","course_order":248,"goal":"Learning about the values available for the functions","exercise_id":2698},{"ordered_units":[{"id":8973,"name":"theory","url":"/courses/python-basics/lessons/logical-operations/theory_unit"},{"id":9385,"name":"quiz","url":"/courses/python-basics/lessons/logical-operations/quiz_unit"},{"id":9647,"name":"exercise","url":"/courses/python-basics/lessons/logical-operations/exercise_unit"}],"id":3961,"slug":"logical-operations","state":"approved","name":"Logic","course_order":300,"goal":"Learning what a logical type is and how to apply logical operations","exercise_id":2699},{"ordered_units":[{"id":8975,"name":"theory","url":"/courses/python-basics/lessons/logical-operators/theory_unit"},{"id":9386,"name":"quiz","url":"/courses/python-basics/lessons/logical-operators/quiz_unit"},{"id":9648,"name":"exercise","url":"/courses/python-basics/lessons/logical-operators/exercise_unit"}],"id":3962,"slug":"logical-operators","state":"approved","name":"Logical operators","course_order":310,"goal":"Learning how to write compound conditions","exercise_id":2700},{"ordered_units":[{"id":8977,"name":"theory","url":"/courses/python-basics/lessons/logical-expressions/theory_unit"},{"id":9387,"name":"quiz","url":"/courses/python-basics/lessons/logical-expressions/quiz_unit"},{"id":9649,"name":"exercise","url":"/courses/python-basics/lessons/logical-expressions/exercise_unit"}],"id":3963,"slug":"logical-expressions","state":"approved","name":"The result of logical operations","course_order":315,"goal":"Exploring logical operations in more depth","exercise_id":2701},{"ordered_units":[{"id":8979,"name":"theory","url":"/courses/python-basics/lessons/conditionals/theory_unit"},{"id":9388,"name":"quiz","url":"/courses/python-basics/lessons/conditionals/quiz_unit"},{"id":9738,"name":"exercise","url":"/courses/python-basics/lessons/conditionals/exercise_unit"}],"id":3964,"slug":"conditionals","state":"approved","name":"Conditional constructions","course_order":320,"goal":"Learning how to control the program's behavior depending on different conditions","exercise_id":2707},{"ordered_units":[{"id":8981,"name":"theory","url":"/courses/python-basics/lessons/while/theory_unit"},{"id":9389,"name":"quiz","url":"/courses/python-basics/lessons/while/quiz_unit"},{"id":9739,"name":"exercise","url":"/courses/python-basics/lessons/while/exercise_unit"}],"id":3965,"slug":"while","state":"approved","name":"The while loop","course_order":330,"goal":"Learning to write programs for repetitive actions","exercise_id":2708},{"ordered_units":[{"id":8983,"name":"theory","url":"/courses/python-basics/lessons/aggregation/theory_unit"},{"id":9390,"name":"quiz","url":"/courses/python-basics/lessons/aggregation/quiz_unit"},{"id":9807,"name":"exercise","url":"/courses/python-basics/lessons/aggregation/exercise_unit"}],"id":3966,"slug":"aggregation","state":"approved","name":"Data aggregation","course_order":340,"goal":"Learning to apply cycles in practice","exercise_id":2717},{"ordered_units":[{"id":8985,"name":"theory","url":"/courses/python-basics/lessons/iteration-over-string/theory_unit"},{"id":9808,"name":"exercise","url":"/courses/python-basics/lessons/iteration-over-string/exercise_unit"}],"id":3967,"slug":"iteration-over-string","state":"approved","name":"Row bypass","course_order":345,"goal":"Learning how to bypass and form strings in loops","exercise_id":2718},{"ordered_units":[{"id":8986,"name":"theory","url":"/courses/python-basics/lessons/conditions-inside-loops/theory_unit"},{"id":9391,"name":"quiz","url":"/courses/python-basics/lessons/conditions-inside-loops/quiz_unit"},{"id":9809,"name":"exercise","url":"/courses/python-basics/lessons/conditions-inside-loops/exercise_unit"}],"id":3968,"slug":"conditions-inside-loops","state":"approved","name":"Conditions in the loop body","course_order":350,"goal":"Learning to control the behavior of programs in loops","exercise_id":2719},{"ordered_units":[{"id":8988,"name":"theory","url":"/courses/python-basics/lessons/for/theory_unit"},{"id":9392,"name":"quiz","url":"/courses/python-basics/lessons/for/quiz_unit"},{"id":9810,"name":"exercise","url":"/courses/python-basics/lessons/for/exercise_unit"}],"id":3969,"slug":"for","state":"approved","name":"The for cycle","course_order":360,"goal":"Exploring another loop in Python","exercise_id":2720},{"ordered_units":[{"id":8990,"name":"theory","url":"/courses/python-basics/lessons/debug/theory_unit"},{"id":9393,"name":"quiz","url":"/courses/python-basics/lessons/debug/quiz_unit"},{"id":9998,"name":"exercise","url":"/courses/python-basics/lessons/debug/exercise_unit"}],"id":3970,"slug":"debug","state":"approved","name":"Debugging","course_order":380,"goal":"Learning how to find bugs in the code","exercise_id":2741},{"ordered_units":[{"id":8992,"name":"theory","url":"/courses/python-basics/lessons/modules/theory_unit"},{"id":9811,"name":"exercise","url":"/courses/python-basics/lessons/modules/exercise_unit"}],"id":3971,"slug":"modules","state":"approved","name":"Modules","course_order":400,"goal":"Learning how Python handles code split into multiple files","exercise_id":2722},{"ordered_units":[{"id":8994,"name":"theory","url":"/courses/python-basics/lessons/modules-in-depth/theory_unit"},{"id":9394,"name":"quiz","url":"/courses/python-basics/lessons/modules-in-depth/quiz_unit"},{"id":9812,"name":"exercise","url":"/courses/python-basics/lessons/modules-in-depth/exercise_unit"}],"id":3972,"slug":"modules-in-depth","state":"approved","name":"Deeper modules","course_order":410,"goal":"Exploring non-obvious cases of working with modules","exercise_id":2723},{"ordered_units":[{"id":8996,"name":"theory","url":"/courses/python-basics/lessons/packages/theory_unit"},{"id":9395,"name":"quiz","url":"/courses/python-basics/lessons/packages/quiz_unit"},{"id":9813,"name":"exercise","url":"/courses/python-basics/lessons/packages/exercise_unit"}],"id":3973,"slug":"packages","state":"approved","name":"Packages","course_order":420,"goal":"Learning how to combine individual modules into groups","exercise_id":2724},{"ordered_units":[{"id":8998,"name":"theory","url":"/courses/python-basics/lessons/module-random/theory_unit"},{"id":9396,"name":"quiz","url":"/courses/python-basics/lessons/module-random/quiz_unit"},{"id":9814,"name":"exercise","url":"/courses/python-basics/lessons/module-random/exercise_unit"}],"id":3974,"slug":"module-random","state":"approved","name":"Module random","course_order":430,"goal":"Using the random module, responsible for generating random numbers","exercise_id":2725},{"ordered_units":[{"id":9000,"name":"theory","url":"/courses/python-basics/lessons/tuples/theory_unit"},{"id":9397,"name":"quiz","url":"/courses/python-basics/lessons/tuples/quiz_unit"},{"id":9815,"name":"exercise","url":"/courses/python-basics/lessons/tuples/exercise_unit"}],"id":3975,"slug":"tuples","state":"approved","name":"Corteges","course_order":440,"goal":"Getting familiar with the first composite type","exercise_id":2726},{"ordered_units":[{"id":9002,"name":"theory","url":"/courses/python-basics/lessons/history/theory_unit"},{"id":9398,"name":"quiz","url":"/courses/python-basics/lessons/history/quiz_unit"}],"id":3976,"slug":"history","state":"approved","name":"History of Python","course_order":500,"goal":"Learning how Python became what it is today","exercise_id":null}],"challenges":[{"exercise":{"id":2727,"slug":"python_basics_happy_ticket_exercise","name":"Happy Ticket","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"A ticket with a number is called \"lucky\" if the sum of the first half of the digits is equal to the sum of the second half of the digits. The number can have an arbitrary length, but the number of digits is always even, for example: `33` or `2341`.\n\nA ticket with the number __385916__ is lucky because 3 + 8 + 5 == 9 + 1 + 6.\nA ticket with the number __231002__ is not lucky because 2 + 3 + 1 != 0 + 0 + 2.\n\n## src/solution.py\n\nImplement the function `is_happy_ticket()` that checks whether the number is lucky (the number is always a string). The function should return `True` if the ticket is lucky, or `False` if it is not.\n\nIt is assumed that the input data is always correct, so no additional checks are required.\n\nExamples:\n\n\n```python\nis_happy_ticket('123123') # True\nis_happy_ticket('341800') # True\n\nis_happy_ticket('42') # False\nis_happy_ticket('12345678') # False\n```\n","prepared_readme":"A ticket with a number is called \"lucky\" if the sum of the first half of the digits is equal to the sum of the second half of the digits. The number can have an arbitrary length, but the number of digits is always even, for example: `33` or `2341`.\n\nA ticket with the number __385916__ is lucky because 3 + 8 + 5 == 9 + 1 + 6.\nA ticket with the number __231002__ is not lucky because 2 + 3 + 1 != 0 + 0 + 2.\n\n## src/solution.py\n\nImplement the function `is_happy_ticket()` that checks whether the number is lucky (the number is always a string). The function should return `True` if the ticket is lucky, or `False` if it is not.\n\nIt is assumed that the input data is always correct, so no additional checks are required.\n\nExamples:\n\n\n```python\nis_happy_ticket('123123') # True\nis_happy_ticket('341800') # True\n\nis_happy_ticket('42') # False\nis_happy_ticket('12345678') # False\n```\n","has_solution":true,"entity_name":"Happy Ticket"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":739,"slug":"python_basics_happy_ticket_exercise","percent_of_success":"50%"},{"exercise":{"id":2728,"slug":"python_basics_fib_exercise","name":"Fibonacci","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"Fibonacci numbers have applications in many areas, from mathematics to biology. In computer science, Fibonacci numbers are used for [sorting algorithms](https://en.wikipedia.org/wiki/Fibonacci_search_technique), generating random numbers, and encoding [data structures](https://en.wikipedia.org/wiki/Fibonacci_heap). Implementing a Fibonacci function is also a common interview question.\n## src/solution.py\n\nImplement the function `fib()`, that calculates positive хFibonacci numbers](https://en.wikipedia.org/wiki/Fibonacci_sequence). The argument of the function is the ordinal number of the Fibonacci number.\n\nThe formula is:\n\n f(0) = 0\n f(1) = 1\n f(n) = f(n-1) + f(n-2)\n\n```python\nfib(3) # 2\nfib(5) # 5\nfib(10) # 55\n```\n","prepared_readme":"Fibonacci numbers have applications in many areas, from mathematics to biology. In computer science, Fibonacci numbers are used for [sorting algorithms](https://en.wikipedia.org/wiki/Fibonacci_search_technique), generating random numbers, and encoding [data structures](https://en.wikipedia.org/wiki/Fibonacci_heap). Implementing a Fibonacci function is also a common interview question.\n## src/solution.py\n\nImplement the function `fib()`, that calculates positive хFibonacci numbers](https://en.wikipedia.org/wiki/Fibonacci_sequence). The argument of the function is the ordinal number of the Fibonacci number.\n\nThe formula is:\n\n f(0) = 0\n f(1) = 1\n f(n) = f(n-1) + f(n-2)\n\n```python\nfib(3) # 2\nfib(5) # 5\nfib(10) # 55\n```\n","has_solution":true,"entity_name":"Fibonacci"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":740,"slug":"python_basics_fib_exercise","percent_of_success":"50%"},{"exercise":{"id":2729,"slug":"python_basics_binary_sum_exercise","name":"Sum of binary numbers","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"This challenge requires familiarity with the [binary numeral system] (https://en.wikipedia.org/wiki/Binary_number).\n\n## solution.py\n\nImplement the function `binary_sum()` that takes two binary numbers as strings and returns their sum. The computed sum should also be a binary number in the form of a string:\n\n```python\nbinary_sum('10', '1') # 11\nbinary_sum('1101', '101') # 10010\n```\n\n### Подсказки\n\n* [String formatting syntax](https://docs.python.org/3/library/string.html#format-examples)\n* [int()](https://docs.python.org/3/library/functions.html?highlight=int#int)\n","prepared_readme":"This challenge requires familiarity with the [binary numeral system] (https://en.wikipedia.org/wiki/Binary_number).\n\n## solution.py\n\nImplement the function `binary_sum()` that takes two binary numbers as strings and returns their sum. The computed sum should also be a binary number in the form of a string:\n\n```python\nbinary_sum('10', '1') # 11\nbinary_sum('1101', '101') # 10010\n```\n\n### Подсказки\n\n* [String formatting syntax](https://docs.python.org/3/library/string.html#format-examples)\n* [int()](https://docs.python.org/3/library/functions.html?highlight=int#int)\n","has_solution":true,"entity_name":"Sum of binary numbers"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":741,"slug":"python_basics_binary_sum_exercise","percent_of_success":"66%"},{"exercise":{"id":2730,"slug":"python_basics_happy_numbers_exercise","name":"Happy numbers","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"### Happy numbers\n\nLet's call happy numbers those numbers whose sum of the squares of their digits, after a series of transformations, becomes equal to 1. For example:\n\n```\n7 -> 7^2 = 49\n49 -> 4^2 + 9^2 = 97\n97 -> 9^2 + 7^2 = 130\n130 -> 1^2 + 3^2 + 0^2 = 10\n10 -> 1^2 + 0^2 = 1\n```\n\nConclusion: the original number 7 is a happy number.\n\n## src/solution.py\n\nImplement the function `is_happy_number()` that returns `True` if a number is a happy number and `False` otherwise. The number of iterations in the search process should be limited to 10.\n\n### Hints\n\n* Use a helper function `sum_of_square_digits()` that takes a number as input and returns the sum of the squares of its digits.\n","prepared_readme":"### Happy numbers\n\nLet's call happy numbers those numbers whose sum of the squares of their digits, after a series of transformations, becomes equal to 1. For example:\n\n```\n7 -> 7^2 = 49\n49 -> 4^2 + 9^2 = 97\n97 -> 9^2 + 7^2 = 130\n130 -> 1^2 + 3^2 + 0^2 = 10\n10 -> 1^2 + 0^2 = 1\n```\n\nConclusion: the original number 7 is a happy number.\n\n## src/solution.py\n\nImplement the function `is_happy_number()` that returns `True` if a number is a happy number and `False` otherwise. The number of iterations in the search process should be limited to 10.\n\n### Hints\n\n* Use a helper function `sum_of_square_digits()` that takes a number as input and returns the sum of the squares of its digits.\n","has_solution":true,"entity_name":"Happy numbers"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":742,"slug":"python_basics_happy_numbers_exercise","percent_of_success":"100%"},{"exercise":{"id":2731,"slug":"python_basics_line_classification_exercise","name":"Segment Classification","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"## src/solution.py\n\nIn this challenge, you will implement a small set of functions that work with line segments on a two-dimensional plane. A line segment will be represented as a pair of pairs and will look something like this: `((x1, y1), (x2, y2))` (the nested pairs are the endpoints of the segment). You need to implement four functions:\n\n1. `is_degenerated()` should return true if the line segment is degenerate (the start and end points coincide).\n2. `is_vertical()` should return true if the line segment is vertical.\n3. `is_horizontal()` should return true if the line segment is horizontal.\n4. `is_inclined()` should return true if the line segment is inclined (neither vertical nor horizontal).\n\nThese functions will help classify line segments based on their properties.\n\n```python\nline1 = (0, 10), (100, 130)\nis_vertical(line1) # False\nis_horizontal(line1) # False\nis_degenerated(line1) # False\nis_inclined(line1) # True\nline2 = (42, 1), (42, 2)\nis_vertical(line2) # True\nline3 = (100, 50), (200, 50)\nis_horizontal(line3) # True\n```\n","prepared_readme":"## src/solution.py\n\nIn this challenge, you will implement a small set of functions that work with line segments on a two-dimensional plane. A line segment will be represented as a pair of pairs and will look something like this: `((x1, y1), (x2, y2))` (the nested pairs are the endpoints of the segment). You need to implement four functions:\n\n1. `is_degenerated()` should return true if the line segment is degenerate (the start and end points coincide).\n2. `is_vertical()` should return true if the line segment is vertical.\n3. `is_horizontal()` should return true if the line segment is horizontal.\n4. `is_inclined()` should return true if the line segment is inclined (neither vertical nor horizontal).\n\nThese functions will help classify line segments based on their properties.\n\n```python\nline1 = (0, 10), (100, 130)\nis_vertical(line1) # False\nis_horizontal(line1) # False\nis_degenerated(line1) # False\nis_inclined(line1) # True\nline2 = (42, 1), (42, 2)\nis_vertical(line2) # True\nline3 = (100, 50), (200, 50)\nis_horizontal(line3) # True\n```\n","has_solution":true,"entity_name":"Segment Classification"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":743,"slug":"python_basics_line_classification_exercise","percent_of_success":"100%"},{"exercise":{"id":2732,"slug":"python_basics_encrypt_exercise","name":"Encryption","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"## src/solution.py\n\nYou are tasked with writing a program that encrypts messages using the following algorithm: it takes the text and rearranges every two consecutive characters in it.\n\nIf the number of characters is odd, the last character remains in its place:\n\n```python\nencrypt(\"move\") # 'omev'\nencrypt(\"attack\") # 'taatkc'\nencrypt(\"go!\") # 'og!'\n```\n\nImplement the function `encrypt()` that takes the original message as input and returns the encrypted message.\n","prepared_readme":"## src/solution.py\n\nYou are tasked with writing a program that encrypts messages using the following algorithm: it takes the text and rearranges every two consecutive characters in it.\n\nIf the number of characters is odd, the last character remains in its place:\n\n```python\nencrypt(\"move\") # 'omev'\nencrypt(\"attack\") # 'taatkc'\nencrypt(\"go!\") # 'og!'\n```\n\nImplement the function `encrypt()` that takes the original message as input and returns the encrypted message.\n","has_solution":true,"entity_name":"Encryption"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":744,"slug":"python_basics_encrypt_exercise","percent_of_success":"50%"},{"exercise":{"id":2733,"slug":"python_basics_perfect_numbers_exercise","name":"Perfect Numbers","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"## src/solution.py\n\nImplement the function `is_perfect()` that takes a number and returns `True` if it is a perfect number, and `False` otherwise.\n\nA perfect number is a positive integer that is equal to the sum of its proper divisors (excluding the number itself). For example, 6 is a perfect number because 6 = 1 + 2 + 3.\n\n\n```python\nis_perfect(6) # True\nis_perfect(1) # False\n```\n\n### Notes\n\n- [Perfect number (Wikipedia)](https://en.wikipedia.org/wiki/Perfect_number)\n- [List of perfect numbers](https://en.wikipedia.org/wiki/List_of_perfect_numbers)\n","prepared_readme":"## src/solution.py\n\nImplement the function `is_perfect()` that takes a number and returns `True` if it is a perfect number, and `False` otherwise.\n\nA perfect number is a positive integer that is equal to the sum of its proper divisors (excluding the number itself). For example, 6 is a perfect number because 6 = 1 + 2 + 3.\n\n\n```python\nis_perfect(6) # True\nis_perfect(1) # False\n```\n\n### Notes\n\n- [Perfect number (Wikipedia)](https://en.wikipedia.org/wiki/Perfect_number)\n- [List of perfect numbers](https://en.wikipedia.org/wiki/List_of_perfect_numbers)\n","has_solution":true,"entity_name":"Perfect Numbers"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":745,"slug":"python_basics_perfect_numbers_exercise","percent_of_success":"100%"},{"exercise":{"id":2734,"slug":"python_basics_angle_difference_exercise","name":"Angle difference","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"## src/solution.py\n\nWrite a function `diff` that takes two angles (_int_) and returns the **smallest** difference between them.\n\n\n\nExamples:\n\n```python\nfrom solution import diff\ndiff(0, 45)\n# 45\ndiff(0, 180)\n# 180\ndiff(0, 190) # not 190, but 170, because 170 is smaller\n# 170\ndiff(120, 280)\n# 160\n```\n\n### Hints\n\nAngles can be negative or very large (1000 degrees!). However, remember that angle arithmetic is [modular](https://en.wikipedia.org/wiki/Modular_arithmetic) (modulus 360).\n\nYou may find the following functions useful:\n\n* The `abs` function, which returns the absolute value (modulus) of an argument\n* The `min` function, which selects the minimum of two arguments\n\n```python\nabs(-1)\n# 1\nmin(10, 7)\n# 7\n```\n","prepared_readme":"## src/solution.py\n\nWrite a function `diff` that takes two angles (_int_) and returns the **smallest** difference between them.\n\n\n\nExamples:\n\n```python\nfrom solution import diff\ndiff(0, 45)\n# 45\ndiff(0, 180)\n# 180\ndiff(0, 190) # not 190, but 170, because 170 is smaller\n# 170\ndiff(120, 280)\n# 160\n```\n\n### Hints\n\nAngles can be negative or very large (1000 degrees!). However, remember that angle arithmetic is [modular](https://en.wikipedia.org/wiki/Modular_arithmetic) (modulus 360).\n\nYou may find the following functions useful:\n\n* The `abs` function, which returns the absolute value (modulus) of an argument\n* The `min` function, which selects the minimum of two arguments\n\n```python\nabs(-1)\n# 1\nmin(10, 7)\n# 7\n```\n","has_solution":true,"entity_name":"Angle difference"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":746,"slug":"python_basics_angle_difference_exercise","percent_of_success":"0%"},{"exercise":{"id":2735,"slug":"python_basics_tuple_rotation_exercise","name":"Rotation of Triples","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"## src/solution.py\n\nIn this challenge, you will be working with \"triples\" - tuples of three elements. You are tasked with implementing two functions that rotate the triple to the left and to the right. You can understand how this works from a couple of examples:\n\n```python\ntriple = ('A', 'B', 'C')\nrotate_left(triple) # ('B', 'C', 'A')\nrotate_right(triple) # ('C', 'A', 'B')\n```\n","prepared_readme":"## src/solution.py\n\nIn this challenge, you will be working with \"triples\" - tuples of three elements. You are tasked with implementing two functions that rotate the triple to the left and to the right. You can understand how this works from a couple of examples:\n\n```python\ntriple = ('A', 'B', 'C')\nrotate_left(triple) # ('B', 'C', 'A')\nrotate_right(triple) # ('C', 'A', 'B')\n```\n","has_solution":true,"entity_name":"Rotation of Triples"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":747,"slug":"python_basics_tuple_rotation_exercise","percent_of_success":"100%"},{"exercise":{"id":2736,"slug":"python_basics_invert_case_exercise","name":"Inverted case","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"## src/solution.py\n\nImplement the function `invert_case()` that changes the case of each letter in a string to its opposite case.\n\nExamples:\n\n```python\ninvert_case('Hello, World!') # hELLO, wORLD!\ninvert_case('I love Python') # i LOVE pYTHON\n```\n\n### Подсказки\n\n* Чтобы получить строку (или отдельный символ) в верхнем регистре, используйте метод `.upper()`\n* Чтобы получить строку (или отдельный символ) в нижнем регистре, используйте метод `.lower()`\n* Хоть в Python и есть встроенный метод для таких повседневных задач, постарайтесь решить задание без его применения\n\n### Hints\n\n* To get a string (or an individual character) in uppercase, use the `.upper()` method.\n* To get a string (or an individual character) in lowercase, use the `.lower()` method.\n* Although Python has a built-in method for such everyday tasks, try to solve the challenge without using it.\n","prepared_readme":"## src/solution.py\n\nImplement the function `invert_case()` that changes the case of each letter in a string to its opposite case.\n\nExamples:\n\n```python\ninvert_case('Hello, World!') # hELLO, wORLD!\ninvert_case('I love Python') # i LOVE pYTHON\n```\n\n### Подсказки\n\n* Чтобы получить строку (или отдельный символ) в верхнем регистре, используйте метод `.upper()`\n* Чтобы получить строку (или отдельный символ) в нижнем регистре, используйте метод `.lower()`\n* Хоть в Python и есть встроенный метод для таких повседневных задач, постарайтесь решить задание без его применения\n\n### Hints\n\n* To get a string (or an individual character) in uppercase, use the `.upper()` method.\n* To get a string (or an individual character) in lowercase, use the `.lower()` method.\n* Although Python has a built-in method for such everyday tasks, try to solve the challenge without using it.\n","has_solution":true,"entity_name":"Inverted case"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":748,"slug":"python_basics_invert_case_exercise","percent_of_success":"100%"},{"exercise":{"id":2737,"slug":"python_basics_facade_exercise","name":"Facade","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"Imagine that you have just joined a project and are trying to make sense of the strange code written by the previous programmer.\n\nThey scattered all the functions related to mathematical calculations across different places. These functions are stored in modules named `numbers1`, `numbers2`, and `numbers3`. Fortunately, all the modules are located in the same solution package. Moreover, the functions themselves also have peculiar names: all the functions in the `numbers2` module end with the number 2, for example, `sum2`.\n\nYou quickly realize that this is inconvenient and you need to create a unified interface to access these functions (called a \"facade\" in software design patterns). To do this, you need to import all the functions from the mentioned modules into the `solution/__init__.py` module.\n\n## src/solution/__init__.py\n\nYou need to modify the file `solution/__init__.py` so that it imports all the functions from the three modules mentioned above. The file should expose these functions (list them in the `__all__` list) with the following names: `power()`, `add()`, `sub()`, `sqrt()`, and `mul()`.\n\nThis task intentionally does not specify where each function is located and under what name. The goal of this task is to help you understand the package and module system, which will greatly simplify your life in the future. We encourage you not to look at the solution and think about it independently. If you have any questions, feel free to ask in the community.\n\nDon't forget to analyze the test file to understand how the `solution` package is used.\n\n### Notes\n\nWhen you import something into your module from another module but do not use it, a linter may complain about an \"unused import\". It's important to pay attention to such cases because forgotten imports can slow down program loading and even lead to errors. Unused imports also make your code look untidy.\n\nHowever, there is a solution specifically for this case - collecting definitions from multiple modules into one. To calm down the linter, you can define the `__all__` list variable in the module where you do the importing. Its value should be a list or tuple of strings corresponding to the exported names. Here's an example of such a list:\n\n```python\nfrom foo import bar\nfrom spam import eggs\n\n__all__ = (\n 'bar',\n 'eggs',\n)\n```\n\n<!-- ### Hints\n\n[Ликбез по пакетам и шпаргалка по модулям в Python](https://ru.hexlet.io/blog/posts/likbez-po-paketam-i-shpargalka-po-modulyam-v-python) -->\n","prepared_readme":"Imagine that you have just joined a project and are trying to make sense of the strange code written by the previous programmer.\n\nThey scattered all the functions related to mathematical calculations across different places. These functions are stored in modules named `numbers1`, `numbers2`, and `numbers3`. Fortunately, all the modules are located in the same solution package. Moreover, the functions themselves also have peculiar names: all the functions in the `numbers2` module end with the number 2, for example, `sum2`.\n\nYou quickly realize that this is inconvenient and you need to create a unified interface to access these functions (called a \"facade\" in software design patterns). To do this, you need to import all the functions from the mentioned modules into the `solution/__init__.py` module.\n\n## src/solution/__init__.py\n\nYou need to modify the file `solution/__init__.py` so that it imports all the functions from the three modules mentioned above. The file should expose these functions (list them in the `__all__` list) with the following names: `power()`, `add()`, `sub()`, `sqrt()`, and `mul()`.\n\nThis task intentionally does not specify where each function is located and under what name. The goal of this task is to help you understand the package and module system, which will greatly simplify your life in the future. We encourage you not to look at the solution and think about it independently. If you have any questions, feel free to ask in the community.\n\nDon't forget to analyze the test file to understand how the `solution` package is used.\n\n### Notes\n\nWhen you import something into your module from another module but do not use it, a linter may complain about an \"unused import\". It's important to pay attention to such cases because forgotten imports can slow down program loading and even lead to errors. Unused imports also make your code look untidy.\n\nHowever, there is a solution specifically for this case - collecting definitions from multiple modules into one. To calm down the linter, you can define the `__all__` list variable in the module where you do the importing. Its value should be a list or tuple of strings corresponding to the exported names. Here's an example of such a list:\n\n```python\nfrom foo import bar\nfrom spam import eggs\n\n__all__ = (\n 'bar',\n 'eggs',\n)\n```\n\n<!-- ### Hints\n\n[Ликбез по пакетам и шпаргалка по модулям в Python](https://ru.hexlet.io/blog/posts/likbez-po-paketam-i-shpargalka-po-modulyam-v-python) -->\n","has_solution":true,"entity_name":"Facade"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":749,"slug":"python_basics_facade_exercise","percent_of_success":"100%"},{"exercise":{"id":2738,"slug":"python_basics_power3_exercise","name":"Power of three","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"## src/solution.py\n\nImplement the function `is_power_of_three()` that determines whether a given number is a natural power of three. For example:\n\n* The number 27 is a third power: 3 3\n* And the number 81 is a fourth power: 3 4\n\nExample:\n\n```python\nis_power_of_three(1) # True\nis_power_of_three(2) # False\nis_power_of_three(9) # True\n```\n","prepared_readme":"## src/solution.py\n\nImplement the function `is_power_of_three()` that determines whether a given number is a natural power of three. For example:\n\n* The number 27 is a third power: 3 3\n* And the number 81 is a fourth power: 3 4\n\nExample:\n\n```python\nis_power_of_three(1) # True\nis_power_of_three(2) # False\nis_power_of_three(9) # True\n```\n","has_solution":true,"entity_name":"Power of three"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":750,"slug":"python_basics_power3_exercise","percent_of_success":"100%"},{"exercise":{"id":2739,"slug":"python_basics_fizzbuzz_exercise","name":"Fizzbuzz","state":"active","kind":"challenge","language":"python","locale":"en","has_web_view":false,"has_test_view":false,"reviewable":true,"readme":"### src/solution.py\n\nImplement the function `fizz_buzz()` that returns a string with numbers (separated by spaces) in the range from `begin` to `end`, inclusive. The following rules apply:\n\n * If a number is divisible evenly by `3`, it is replaced with the word `Fizz`.\n * If a number is divisible evenly by `5`, it is replaced with the word `Buzz`.\n * If a number is divisible evenly by both 3 and 5, it is replaced with the word `FizzBuzz`.\n * For all other numbers, the number itself is added to the string\n\nThe function takes parameters `begin` and `end`, which define the beginning and end of the range, inclusive. The function returns an empty string if the range is empty - in the case when `begin > end`.\n\n#### Example\n\nFunction call:\n\n```python\nfrom solution import fizz_buzz\nprint(fizz_buzz(1, 5))\n# => 1 2 Fizz 4 Buzz\nprint(fizz_buzz(11, 20))\n# => 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz\n```\n\n<!-- Это задание крайне часто задают на [собеседованиях](https://habrahabr.ru/post/298134/). -->\n","prepared_readme":"### src/solution.py\n\nImplement the function `fizz_buzz()` that returns a string with numbers (separated by spaces) in the range from `begin` to `end`, inclusive. The following rules apply:\n\n * If a number is divisible evenly by `3`, it is replaced with the word `Fizz`.\n * If a number is divisible evenly by `5`, it is replaced with the word `Buzz`.\n * If a number is divisible evenly by both 3 and 5, it is replaced with the word `FizzBuzz`.\n * For all other numbers, the number itself is added to the string\n\nThe function takes parameters `begin` and `end`, which define the beginning and end of the range, inclusive. The function returns an empty string if the range is empty - in the case when `begin > end`.\n\n#### Example\n\nFunction call:\n\n```python\nfrom solution import fizz_buzz\nprint(fizz_buzz(1, 5))\n# => 1 2 Fizz 4 Buzz\nprint(fizz_buzz(11, 20))\n# => 11 Fizz 13 14 FizzBuzz 16 17 Fizz 19 Buzz\n```\n\n<!-- Это задание крайне часто задают на [собеседованиях](https://habrahabr.ru/post/298134/). -->\n","has_solution":true,"entity_name":"Fizzbuzz"},"course":{"start_lesson":{"exercise":null,"units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"links":[{"id":424684,"name":"The Python Developer Profession","url":"https://en.hexlet.io/programs/python"}],"ordered_units":[{"id":8918,"name":"theory","url":"/courses/python-basics/lessons/intro/theory_unit"}],"id":3932,"slug":"intro","state":"approved","name":"Introduction","course_order":100,"goal":"Learning about Python Basics course","self_study":null,"theory_video_provider":null,"theory_video_uid":null,"theory":"Python is one of the most popular programming languages in science and application development. The Python programmer profession in Hexlet gives you all the information you need to find work. This course allows you to immerse yourself in the language itself.\n\nYou will learn the basics of Python programming. We will learn about data representation in memory, naming standards, string encoding, and more.\n\nLearning material needs to be organized, especially if you want to learn the basics of programming from scratch. You get used to the language constructions and immerse yourself in the language itself. It will be possible once you start learning.\n\n## Course objectives\n\n- Learn the basics of Python syntax\n- Learn to write small programs\n- Learn about debugging and how to do it effectively\n- Learn to work in the Hexlet environment\n- Understand the structure of practical tasks\n- Learn mechanisms for working with multi-file projects\n\nWe will also put all the theories into practice. Almost every lesson ends with an exercise, and after the course, there are many additional assignments that we recommend you complete before moving on to the next part. These assignments cover the course material and help you get the practice you need in your career.\n"},"id":358,"slug":"python-basics","challenges_count":13,"name":"Python Basics","allow_indexing":true,"state":"approved","course_state":"finished","pricing_type":"free","description":"In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.","kind":"basic","updated_at":"2026-01-20T11:48:14.156Z","language":"python","duration_cache":194340,"skills":["Create programs using basic language constructions (conditions, loops, functions, etc.)","Compose programs consisting of several modules","Correctly analyze errors in code and use the debug printout when searching for them"],"keywords":[],"lessons_count":43,"cover":"https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png"},"id":751,"slug":"python_basics_fizzbuzz_exercise","percent_of_success":"50%"}],"recommendedLandings":[]},"url":"/courses/python-basics","version":"1656487db0d1dd5f33634fe1070e57e55135cbeb","encryptHistory":false,"clearHistory":false}"><style data-mantine-styles="true">:root, :host{--mantine-font-family: Arial, sans-serif;--mantine-font-family-headings: Arial, sans-serif;--mantine-heading-font-weight: normal;--mantine-radius-default: 0rem;--mantine-primary-color-filled: var(--mantine-color-indigo-filled);--mantine-primary-color-filled-hover: var(--mantine-color-indigo-filled-hover);--mantine-primary-color-light: var(--mantine-color-indigo-light);--mantine-primary-color-light-hover: var(--mantine-color-indigo-light-hover);--mantine-primary-color-light-color: var(--mantine-color-indigo-light-color);--mantine-spacing-xxl: calc(4rem * var(--mantine-scale));--mantine-font-size-xs: 12px;--mantine-font-size-sm: 14px;--mantine-font-size-md: 16px;--mantine-font-size-lg: clamp(16.0000px, calc(15.2727px + 0.2273vw), 18.0000px);--mantine-font-size-xl: clamp(16.0000px, calc(14.5455px + 0.4545vw), 20.0000px);--mantine-font-size-display-3: clamp(32.0000px, calc(26.1818px + 1.8182vw), 48.0000px);--mantine-font-size-display-2: clamp(36.0000px, calc(25.8182px + 3.1818vw), 64.0000px);--mantine-font-size-display-1: clamp(40.0000px, calc(25.4545px + 4.5455vw), 80.0000px);--mantine-font-size-h1: clamp(28.0000px, calc(23.6364px + 1.3636vw), 40.0000px);--mantine-font-size-h2: clamp(24.0000px, calc(21.0909px + 0.9091vw), 32.0000px);--mantine-font-size-h3: clamp(20.0000px, calc(17.0909px + 0.9091vw), 28.0000px);--mantine-font-size-h4: clamp(16.0000px, calc(13.0909px + 0.9091vw), 24.0000px);--mantine-font-size-h5: clamp(16.0000px, calc(14.5455px + 0.4545vw), 20.0000px);--mantine-font-size-h6: 1rem;--mantine-primary-color-0: var(--mantine-color-indigo-0);--mantine-primary-color-1: var(--mantine-color-indigo-1);--mantine-primary-color-2: var(--mantine-color-indigo-2);--mantine-primary-color-3: var(--mantine-color-indigo-3);--mantine-primary-color-4: var(--mantine-color-indigo-4);--mantine-primary-color-5: var(--mantine-color-indigo-5);--mantine-primary-color-6: var(--mantine-color-indigo-6);--mantine-primary-color-7: var(--mantine-color-indigo-7);--mantine-primary-color-8: var(--mantine-color-indigo-8);--mantine-primary-color-9: var(--mantine-color-indigo-9);--mantine-color-red-0: #ffeaea;--mantine-color-red-1: #fed4d4;--mantine-color-red-2: #f4a7a8;--mantine-color-red-3: #ec7878;--mantine-color-red-4: #e55050;--mantine-color-red-5: #e03131;--mantine-color-red-6: #e02829;--mantine-color-red-7: #c71a1c;--mantine-color-red-8: #b21218;--mantine-color-red-9: #9c0411;--mantine-color-violet-0: #fce9ff;--mantine-color-violet-1: #f1cfff;--mantine-color-violet-2: #e09bff;--mantine-color-violet-3: #d16fff;--mantine-color-violet-4: #be37fe;--mantine-color-violet-5: #b51afe;--mantine-color-violet-6: #b009ff;--mantine-color-violet-7: #9b00e4;--mantine-color-violet-8: #8a00cc;--mantine-color-violet-9: #7800b3;--mantine-color-indigo-0: #edecff;--mantine-color-indigo-1: #d6d5fe;--mantine-color-indigo-2: #aaa9f4;--mantine-color-indigo-3: #7b79eb;--mantine-color-indigo-4: #5451e4;--mantine-color-indigo-5: #3b37e0;--mantine-color-indigo-6: #2d2adf;--mantine-color-indigo-7: #1f1ec7;--mantine-color-indigo-8: #1819b2;--mantine-color-indigo-9: #0c149e;--mantine-color-cyan-0: #dffdff;--mantine-color-cyan-1: #caf5ff;--mantine-color-cyan-2: #99e8ff;--mantine-color-cyan-3: #64daff;--mantine-color-cyan-4: #3ccffe;--mantine-color-cyan-5: #24c8fe;--mantine-color-cyan-6: #00c2ff;--mantine-color-cyan-7: #00ade4;--mantine-color-cyan-8: #009acd;--mantine-color-cyan-9: #0085b5;--mantine-color-green-0: #e9fdec;--mantine-color-green-1: #d7f6dc;--mantine-color-green-2: #b0eab9;--mantine-color-green-3: #86df94;--mantine-color-green-4: #62d574;--mantine-color-green-5: #4ccf5f;--mantine-color-green-6: #3fcc54;--mantine-color-green-7: #2fb344;--mantine-color-green-8: #25a03b;--mantine-color-green-9: #138a2e;--mantine-color-yellow-0: #fff7e2;--mantine-color-yellow-1: #ffeecd;--mantine-color-yellow-2: #ffdc9c;--mantine-color-yellow-3: #ffc966;--mantine-color-yellow-4: #feb93a;--mantine-color-yellow-5: #feae1e;--mantine-color-yellow-6: #ffa90f;--mantine-color-yellow-8: #ca8200;--mantine-color-yellow-9: #af7000;--mantine-h1-font-size: clamp(28.0000px, calc(23.6364px + 1.3636vw), 40.0000px);--mantine-h1-font-weight: normal;--mantine-h2-font-size: clamp(24.0000px, calc(21.0909px + 0.9091vw), 32.0000px);--mantine-h2-font-weight: normal;--mantine-h3-font-size: clamp(20.0000px, calc(17.0909px + 0.9091vw), 28.0000px);--mantine-h3-font-weight: normal;--mantine-h4-font-size: clamp(16.0000px, calc(13.0909px + 0.9091vw), 24.0000px);--mantine-h4-font-weight: normal;--mantine-h5-font-size: clamp(16.0000px, calc(14.5455px + 0.4545vw), 20.0000px);--mantine-h5-font-weight: normal;--mantine-h6-font-size: 1rem;--mantine-h6-font-weight: normal;}
:root[data-mantine-color-scheme="dark"], :host([data-mantine-color-scheme="dark"]){--mantine-color-anchor: var(--mantine-color-text);--mantine-color-dimmed: #495057;--mantine-color-dark-filled: var(--mantine-color-dark-5);--mantine-color-dark-filled-hover: var(--mantine-color-dark-6);--mantine-color-dark-light: rgba(105, 105, 105, 0.15);--mantine-color-dark-light-hover: rgba(105, 105, 105, 0.2);--mantine-color-dark-light-color: var(--mantine-color-dark-0);--mantine-color-dark-outline: var(--mantine-color-dark-1);--mantine-color-dark-outline-hover: rgba(184, 184, 184, 0.05);--mantine-color-gray-filled: var(--mantine-color-gray-5);--mantine-color-gray-filled-hover: var(--mantine-color-gray-6);--mantine-color-gray-light: rgba(222, 226, 230, 0.15);--mantine-color-gray-light-hover: rgba(222, 226, 230, 0.2);--mantine-color-gray-light-color: var(--mantine-color-gray-0);--mantine-color-gray-outline: var(--mantine-color-gray-1);--mantine-color-gray-outline-hover: rgba(241, 243, 245, 0.05);--mantine-color-red-filled: var(--mantine-color-red-5);--mantine-color-red-filled-hover: var(--mantine-color-red-6);--mantine-color-red-light: rgba(236, 120, 120, 0.15);--mantine-color-red-light-hover: rgba(236, 120, 120, 0.2);--mantine-color-red-light-color: var(--mantine-color-red-0);--mantine-color-red-outline: var(--mantine-color-red-1);--mantine-color-red-outline-hover: rgba(254, 212, 212, 0.05);--mantine-color-pink-filled: var(--mantine-color-pink-5);--mantine-color-pink-filled-hover: var(--mantine-color-pink-6);--mantine-color-pink-light: rgba(250, 162, 193, 0.15);--mantine-color-pink-light-hover: rgba(250, 162, 193, 0.2);--mantine-color-pink-light-color: var(--mantine-color-pink-0);--mantine-color-pink-outline: var(--mantine-color-pink-1);--mantine-color-pink-outline-hover: rgba(255, 222, 235, 0.05);--mantine-color-grape-filled: var(--mantine-color-grape-5);--mantine-color-grape-filled-hover: var(--mantine-color-grape-6);--mantine-color-grape-light: rgba(229, 153, 247, 0.15);--mantine-color-grape-light-hover: rgba(229, 153, 247, 0.2);--mantine-color-grape-light-color: var(--mantine-color-grape-0);--mantine-color-grape-outline: var(--mantine-color-grape-1);--mantine-color-grape-outline-hover: rgba(243, 217, 250, 0.05);--mantine-color-violet-filled: var(--mantine-color-violet-5);--mantine-color-violet-filled-hover: var(--mantine-color-violet-6);--mantine-color-violet-light: rgba(209, 111, 255, 0.15);--mantine-color-violet-light-hover: rgba(209, 111, 255, 0.2);--mantine-color-violet-light-color: var(--mantine-color-violet-0);--mantine-color-violet-outline: var(--mantine-color-violet-1);--mantine-color-violet-outline-hover: rgba(241, 207, 255, 0.05);--mantine-color-indigo-filled: var(--mantine-color-indigo-5);--mantine-color-indigo-filled-hover: var(--mantine-color-indigo-6);--mantine-color-indigo-light: rgba(123, 121, 235, 0.15);--mantine-color-indigo-light-hover: rgba(123, 121, 235, 0.2);--mantine-color-indigo-light-color: var(--mantine-color-indigo-0);--mantine-color-indigo-outline: var(--mantine-color-indigo-1);--mantine-color-indigo-outline-hover: rgba(214, 213, 254, 0.05);--mantine-color-blue-filled: var(--mantine-color-blue-5);--mantine-color-blue-filled-hover: var(--mantine-color-blue-6);--mantine-color-blue-light: rgba(116, 192, 252, 0.15);--mantine-color-blue-light-hover: rgba(116, 192, 252, 0.2);--mantine-color-blue-light-color: var(--mantine-color-blue-0);--mantine-color-blue-outline: var(--mantine-color-blue-1);--mantine-color-blue-outline-hover: rgba(208, 235, 255, 0.05);--mantine-color-cyan-filled: var(--mantine-color-cyan-5);--mantine-color-cyan-filled-hover: var(--mantine-color-cyan-6);--mantine-color-cyan-light: rgba(100, 218, 255, 0.15);--mantine-color-cyan-light-hover: rgba(100, 218, 255, 0.2);--mantine-color-cyan-light-color: var(--mantine-color-cyan-0);--mantine-color-cyan-outline: var(--mantine-color-cyan-1);--mantine-color-cyan-outline-hover: rgba(202, 245, 255, 0.05);--mantine-color-teal-filled: var(--mantine-color-teal-5);--mantine-color-teal-filled-hover: var(--mantine-color-teal-6);--mantine-color-teal-light: rgba(99, 230, 190, 0.15);--mantine-color-teal-light-hover: rgba(99, 230, 190, 0.2);--mantine-color-teal-light-color: var(--mantine-color-teal-0);--mantine-color-teal-outline: var(--mantine-color-teal-1);--mantine-color-teal-outline-hover: rgba(195, 250, 232, 0.05);--mantine-color-green-filled: var(--mantine-color-green-5);--mantine-color-green-filled-hover: var(--mantine-color-green-6);--mantine-color-green-light: rgba(134, 223, 148, 0.15);--mantine-color-green-light-hover: rgba(134, 223, 148, 0.2);--mantine-color-green-light-color: var(--mantine-color-green-0);--mantine-color-green-outline: var(--mantine-color-green-1);--mantine-color-green-outline-hover: rgba(215, 246, 220, 0.05);--mantine-color-lime-filled: var(--mantine-color-lime-5);--mantine-color-lime-filled-hover: var(--mantine-color-lime-6);--mantine-color-lime-light: rgba(192, 235, 117, 0.15);--mantine-color-lime-light-hover: rgba(192, 235, 117, 0.2);--mantine-color-lime-light-color: var(--mantine-color-lime-0);--mantine-color-lime-outline: var(--mantine-color-lime-1);--mantine-color-lime-outline-hover: rgba(233, 250, 200, 0.05);--mantine-color-yellow-filled: var(--mantine-color-yellow-5);--mantine-color-yellow-filled-hover: var(--mantine-color-yellow-6);--mantine-color-yellow-light: rgba(255, 201, 102, 0.15);--mantine-color-yellow-light-hover: rgba(255, 201, 102, 0.2);--mantine-color-yellow-light-color: var(--mantine-color-yellow-0);--mantine-color-yellow-outline: var(--mantine-color-yellow-1);--mantine-color-yellow-outline-hover: rgba(255, 238, 205, 0.05);--mantine-color-orange-filled: var(--mantine-color-orange-5);--mantine-color-orange-filled-hover: var(--mantine-color-orange-6);--mantine-color-orange-light: rgba(255, 192, 120, 0.15);--mantine-color-orange-light-hover: rgba(255, 192, 120, 0.2);--mantine-color-orange-light-color: var(--mantine-color-orange-0);--mantine-color-orange-outline: var(--mantine-color-orange-1);--mantine-color-orange-outline-hover: rgba(255, 232, 204, 0.05);--app-cta-gradient: linear-gradient(90deg, var(--mantine-color-blue-9) 0%, var(--mantine-color-cyan-7) 100%);--app-color-surface: #2e2e2e;}
:root[data-mantine-color-scheme="light"], :host([data-mantine-color-scheme="light"]){--mantine-color-anchor: var(--mantine-color-text);--mantine-color-dimmed: #495057;--mantine-color-red-light: rgba(224, 40, 41, 0.1);--mantine-color-red-light-hover: rgba(224, 40, 41, 0.12);--mantine-color-red-outline-hover: rgba(224, 40, 41, 0.05);--mantine-color-violet-light: rgba(176, 9, 255, 0.1);--mantine-color-violet-light-hover: rgba(176, 9, 255, 0.12);--mantine-color-violet-outline-hover: rgba(176, 9, 255, 0.05);--mantine-color-indigo-light: rgba(45, 42, 223, 0.1);--mantine-color-indigo-light-hover: rgba(45, 42, 223, 0.12);--mantine-color-indigo-outline-hover: rgba(45, 42, 223, 0.05);--mantine-color-cyan-light: rgba(0, 194, 255, 0.1);--mantine-color-cyan-light-hover: rgba(0, 194, 255, 0.12);--mantine-color-cyan-outline-hover: rgba(0, 194, 255, 0.05);--mantine-color-green-light: rgba(63, 204, 84, 0.1);--mantine-color-green-light-hover: rgba(63, 204, 84, 0.12);--mantine-color-green-outline-hover: rgba(63, 204, 84, 0.05);--mantine-color-yellow-light: rgba(255, 169, 15, 0.1);--mantine-color-yellow-light-hover: rgba(255, 169, 15, 0.12);--mantine-color-yellow-outline-hover: rgba(255, 169, 15, 0.05);--app-color-surface: #f1f3f5;--app-cta-gradient: linear-gradient(90deg, var(--mantine-color-blue-filled) 0%, var(--mantine-color-cyan-5) 100%);}</style><style data-mantine-styles="classes">@media (max-width: 35.99375em) {.mantine-visible-from-xs {display: none !important;}}@media (min-width: 36em) {.mantine-hidden-from-xs {display: none !important;}}@media (max-width: 47.99375em) {.mantine-visible-from-sm {display: none !important;}}@media (min-width: 48em) {.mantine-hidden-from-sm {display: none !important;}}@media (max-width: 61.99375em) {.mantine-visible-from-md {display: none !important;}}@media (min-width: 62em) {.mantine-hidden-from-md {display: none !important;}}@media (max-width: 74.99375em) {.mantine-visible-from-lg {display: none !important;}}@media (min-width: 75em) {.mantine-hidden-from-lg {display: none !important;}}@media (max-width: 87.99375em) {.mantine-visible-from-xl {display: none !important;}}@media (min-width: 88em) {.mantine-hidden-from-xl {display: none !important;}}</style><div style="--container-size:var(--container-size-lg);margin-top:var(--mantine-spacing-xl);height:100%" class="m_7485cace mantine-Container-root" data-size="lg" data-strategy="block"><style data-mantine-styles="inline">.__m__-_R_eub_{margin-bottom:var(--mantine-spacing-xs);}@media(min-width: 36em){.__m__-_R_eub_{margin-bottom:var(--mantine-spacing-xs);}}</style><div style="--group-gap:var(--mantine-spacing-md);--group-align:center;--group-justify:space-between;--group-wrap:wrap" class="m_4081bf90 mantine-Group-root __m__-_R_eub_"><style data-mantine-styles="inline">.__m__-_R_deub_{width:100%;}@media(min-width: 62em){.__m__-_R_deub_{width:66%;}}</style><div class="__m__-_R_deub_"><div style="--group-gap:var(--mantine-spacing-md);--group-align:center;--group-justify:start;--group-wrap:nowrap" class="m_4081bf90 mantine-Group-root"><h1 style="--title-fw:var(--mantine-h1-font-weight);--title-lh:var(--mantine-h1-line-height);--title-fz:var(--mantine-h1-font-size)" class="m_8a5d1357 mantine-Title-root" data-order="1">Course “Python Basics”</h1></div></div></div><style data-mantine-styles="inline">.__m__-_R_1iub_{width:100%;}@media(min-width: 62em){.__m__-_R_1iub_{width:66%;}}</style><div style="margin-bottom:var(--mantine-spacing-xl)" class="__m__-_R_1iub_"><div style="margin-bottom:var(--mantine-spacing-lg)" class=""></div><div style="margin-top:var(--mantine-spacing-lg)" class="mantine-hidden-from-md"><div style="--stack-gap:var(--mantine-spacing-xs);--stack-align:stretch;--stack-justify:flex-start" class="m_6d731127 mantine-Stack-root"><a style="--button-height:var(--button-height-md);--button-padding-x:var(--button-padding-x-md);--button-fz:var(--mantine-font-size-md);--button-color:var(--mantine-color-white);text-decoration:none" class="mantine-focus-auto m_849cf0da mantine-focus-auto mantine-active m_77c9d27d mantine-Button-root m_87cf2631 mantine-UnstyledButton-root m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-size="md" data-underline="hover" href="/u/new"><span class="m_80f1301b mantine-Button-inner"><span class="m_811560b9 mantine-Button-label">Try →</span></span></a><p style="color:var(--mantine-color-dimmed);font-size:var(--mantine-font-size-sm);text-align:center" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">This course is free</p></div></div></div><style data-mantine-styles="inline">.__m__-_R_2iub_{--grid-gutter:var(--mantine-spacing-md);}</style><div class="m_410352e9 mantine-Grid-root __m__-_R_2iub_"><div class="m_dee7bd2f mantine-Grid-inner"><style data-mantine-styles="inline">.__m__-_R_dmiub_{--col-flex-grow:auto;--col-flex-basis:100%;--col-max-width:100%;}@media(min-width: 62em){.__m__-_R_dmiub_{--col-flex-grow:auto;--col-flex-basis:66.66666666666667%;--col-max-width:66.66666666666667%;}}</style><div class="m_96bdd299 mantine-Grid-col __m__-_R_dmiub_"><div style="margin-bottom:var(--mantine-spacing-xl);padding-inline:var(--mantine-spacing-xl);padding-block:var(--mantine-spacing-lg)" class="m_e615b15f mantine-Card-root m_1b7284a3 mantine-Paper-root" data-with-border="true"><p style="margin-bottom:var(--mantine-spacing-md);font-size:var(--mantine-font-size-h5);font-weight:bold" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">What's included</p><style data-mantine-styles="inline">.__m__-_R_ajddmiub_{--sg-spacing-x:var(--mantine-spacing-xs);--sg-spacing-y:var(--mantine-spacing-xs);--sg-cols:1;}@media(min-width: 48em){.__m__-_R_ajddmiub_{--sg-cols:2;}}</style><div class="m_2415a157 mantine-SimpleGrid-root __m__-_R_ajddmiub_"><div style="align-items:center" class="m_8bffd616 mantine-Flex-root __m__-_R_1mqjddmiub_"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;margin-inline-end:var(--mantine-spacing-xs);color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-check "><path d="M5 12l5 5l10 -10"></path></svg></div>43 lessons (video and/or text)</div><div style="align-items:center" class="m_8bffd616 mantine-Flex-root __m__-_R_2mqjddmiub_"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;margin-inline-end:var(--mantine-spacing-xs);color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-check "><path d="M5 12l5 5l10 -10"></path></svg></div>41 exercises in the simulator</div><div style="align-items:center" class="m_8bffd616 mantine-Flex-root __m__-_R_3mqjddmiub_"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;margin-inline-end:var(--mantine-spacing-xs);color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-check "><path d="M5 12l5 5l10 -10"></path></svg></div>134 verification tests</div><div style="align-items:center" class="m_8bffd616 mantine-Flex-root __m__-_R_4mqjddmiub_"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;margin-inline-end:var(--mantine-spacing-xs);color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-check "><path d="M5 12l5 5l10 -10"></path></svg></div>Self-study tasks</div><div style="align-items:center" class="m_8bffd616 mantine-Flex-root __m__-_R_5mqjddmiub_"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;margin-inline-end:var(--mantine-spacing-xs);color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-check "><path d="M5 12l5 5l10 -10"></path></svg></div>Extra materials</div><div style="align-items:center" class="m_8bffd616 mantine-Flex-root __m__-_R_6mqjddmiub_"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;margin-inline-end:var(--mantine-spacing-xs);color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-plus "><path d="M12 5l0 14"></path><path d="M5 12l14 0"></path></svg></div>43 extended materials</div></div></div><div style="margin-bottom:var(--mantine-spacing-xl)" class=""><h2 style="--title-fw:var(--mantine-h2-font-weight);--title-lh:var(--mantine-h2-line-height);--title-fz:var(--mantine-h2-font-size);margin-bottom:var(--mantine-spacing-md)" class="m_8a5d1357 mantine-Title-root" data-order="2">Description</h2><div class="m_d08caa0 mantine-Typography-root"><p>In this course, you will learn the basics of the Python language. You will learn about simple data types, conditions, loops, functions, and built-in methods. In the end, you will learn how to write simple programs and how to look for and analyze errors in your code. The knowledge from this course will help you get a basic understanding of Python. This course is suitable both for beginners in programming and for those who are mastering a new language.</p></div></div><div style="margin-bottom:var(--mantine-spacing-xl)" class=""><h2 style="--title-fw:var(--mantine-h2-font-weight);--title-lh:var(--mantine-h2-line-height);--title-fz:var(--mantine-h2-font-size);margin-bottom:var(--mantine-spacing-md)" class="m_8a5d1357 mantine-Title-root" data-order="2">You will learn</h2><ul class="m_abbac491 mantine-List-root" data-type="none"><li style="margin-bottom:var(--mantine-spacing-xs);line-height:var(--mantine-line-height-sm)" class="m_abb6bec2 mantine-List-item" data-with-icon="true" data-centered="true"><div class="m_75cd9f71 mantine-List-itemWrapper"><span class="m_60f83e5b mantine-List-itemIcon"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-plus "><path d="M12 5l0 14"></path><path d="M5 12l14 0"></path></svg></div></span><span class="mantine-List-itemLabel">Create programs using basic language constructions (conditions, loops, functions, etc.)</span></div></li><li style="margin-bottom:var(--mantine-spacing-xs);line-height:var(--mantine-line-height-sm)" class="m_abb6bec2 mantine-List-item" data-with-icon="true" data-centered="true"><div class="m_75cd9f71 mantine-List-itemWrapper"><span class="m_60f83e5b mantine-List-itemIcon"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-plus "><path d="M12 5l0 14"></path><path d="M5 12l14 0"></path></svg></div></span><span class="mantine-List-itemLabel">Compose programs consisting of several modules</span></div></li><li style="margin-bottom:var(--mantine-spacing-xs);line-height:var(--mantine-line-height-sm)" class="m_abb6bec2 mantine-List-item" data-with-icon="true" data-centered="true"><div class="m_75cd9f71 mantine-List-itemWrapper"><span class="m_60f83e5b mantine-List-itemIcon"><div style="--ti-size:var(--ti-size-xs);--ti-bg:transparent;--ti-color:var(--mantine-color-indigo-light-color);--ti-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;color:inherit" class="m_7341320d mantine-ThemeIcon-root" data-variant="transparent" data-size="xs"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-plus "><path d="M12 5l0 14"></path><path d="M5 12l14 0"></path></svg></div></span><span class="mantine-List-itemLabel">Correctly analyze errors in code and use the debug printout when searching for them</span></div></li></ul></div><div style="margin-bottom:var(--mantine-spacing-xl)" class=""><h2 style="--title-fw:var(--mantine-h2-font-weight);--title-lh:var(--mantine-h2-line-height);--title-fz:var(--mantine-h2-font-size);margin-bottom:var(--mantine-spacing-md)" class="m_8a5d1357 mantine-Title-root" data-order="2">Syllabus</h2><table style="--table-vertical-spacing:calc(0.4375rem * var(--mantine-scale))" class="m_b23fa0ef mantine-Table-table"><tbody class="m_b2404537 mantine-Table-tbody"><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">1</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/intro/theory_unit">Introduction</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning about Python Basics course</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">2</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/hello-world/theory_unit">Hello, World!</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Writing the first program</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">3</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/instructions/theory_unit">Instructions</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning the basics of building programs in Python</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">4</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/arithmetics/theory_unit">Arithmetic operations</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to express arithmetic operations in code</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">5</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/linting/theory_unit">Design errors, syntax and linter</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Exploring types of errors and ways to fix them</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">6</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/strings/theory_unit">Strings</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to work with strings</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">7</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/variables/theory_unit">Variables</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to store information and reuse existing data</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">8</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/variables-expression/theory_unit">Expressions in definitions</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to use variables and simplify code</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">9</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/naming/theory_unit">Naming</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to name variables correctly</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">10</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/interpolation/theory_unit">Interpolation</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning another way to work with strings in Python</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">11</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/symbols/theory_unit">Extract characters from a string</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to get values from strings</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">12</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/slises/theory_unit">String cuts</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to extract substrings</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">13</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/data-types/theory_unit">Data types</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to multiply a number by a string</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">14</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/immutability-of-primitive-types/theory_unit">Immutability and primitive types</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Explore whether Python can change strings or numbers</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">15</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/calling-functons/theory_unit">Functions and their calls</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to use ready-made functions</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">16</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/signature/theory_unit">Function Signature</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how the function takes and returns values</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">17</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/call-function-expression/theory_unit">Function calls and expressions</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to use the result of the functions</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">18</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/deterministic/theory_unit">Determinism</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Exploring some function's properties and their features</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">19</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/stdlib/theory_unit">Standard Library</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Introducing the standard library</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">20</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/methods/theory_unit">Properties and methods</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to use Python's built-in data attributes</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">21</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/methods-chain/theory_unit">Chain of methods</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to use Python's built-in data attributes</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">22</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/functions-define/theory_unit">Definition of functions</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to create functions</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">23</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/functions-return/theory_unit">Return values</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to use the result of the function</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">24</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/functions-arguments/theory_unit">Function parameters</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to transfer data to a function</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">25</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/default-parameters/theory_unit">Optional function parameters</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to set the default values</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">26</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/named-arguments/theory_unit">Named arguments</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Exploring another type of arguments</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">27</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/environment/theory_unit">Environment</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning about the values available for the functions</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">28</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/logical-operations/theory_unit">Logic</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning what a logical type is and how to apply logical operations</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">29</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/logical-operators/theory_unit">Logical operators</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to write compound conditions</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">30</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/logical-expressions/theory_unit">The result of logical operations</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Exploring logical operations in more depth</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">31</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/conditionals/theory_unit">Conditional constructions</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to control the program's behavior depending on different conditions</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">32</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/while/theory_unit">The while loop</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to write programs for repetitive actions</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">33</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/aggregation/theory_unit">Data aggregation</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to apply cycles in practice</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">34</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/iteration-over-string/theory_unit">Row bypass</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to bypass and form strings in loops</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">35</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/conditions-inside-loops/theory_unit">Conditions in the loop body</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning to control the behavior of programs in loops</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">36</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/for/theory_unit">The for cycle</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Exploring another loop in Python</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">37</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/debug/theory_unit">Debugging</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to find bugs in the code</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">38</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/modules/theory_unit">Modules</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how Python handles code split into multiple files</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">39</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/modules-in-depth/theory_unit">Deeper modules</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Exploring non-obvious cases of working with modules</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">40</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/packages/theory_unit">Packages</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how to combine individual modules into groups</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">41</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/module-random/theory_unit">Module random</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Using the random module, responsible for generating random numbers</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">42</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/tuples/theory_unit">Corteges</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Getting familiar with the first composite type</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p style="font-size:var(--mantine-font-size-h4)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">43</p></td><td style="padding-block:var(--mantine-spacing-lg)" class="m_4e7aa4ef mantine-Table-td"><a style="color:inherit;font-size:var(--mantine-font-size-h5)" class="mantine-focus-auto m_849cf0da m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-underline="hover" href="/courses/python-basics/lessons/history/theory_unit">History of Python</a><p style="color:var(--mantine-color-dimmed)" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Learning how Python became what it is today</p></td></tr></tbody></table></div><div style="margin-bottom:var(--mantine-spacing-xl)" class=""><div style="--group-gap:var(--mantine-spacing-md);--group-align:center;--group-justify:flex-start;--group-wrap:wrap;margin-bottom:var(--mantine-spacing-md)" class="m_4081bf90 mantine-Group-root"><h2 style="--title-fw:var(--mantine-h2-font-weight);--title-lh:var(--mantine-h2-line-height);--title-fz:var(--mantine-h2-font-size)" class="m_8a5d1357 mantine-Title-root" data-order="2">Challenges</h2><button style="--ai-size:var(--ai-size-sm);--ai-bg:transparent;--ai-hover:transparent;--ai-color:var(--mantine-color-indigo-light-color);--ai-bd:calc(0.0625rem * var(--mantine-scale)) solid transparent;color:var(--mantine-color-dimmed)" class="mantine-focus-auto mantine-active m_8d3f4000 mantine-ActionIcon-root m_87cf2631 mantine-UnstyledButton-root" data-variant="transparent" data-size="sm" type="button" aria-haspopup="dialog" aria-expanded="false" id="mantine-_R_amtddmiub_-target"><span class="m_8d3afb97 mantine-ActionIcon-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-info-square-rounded "><path d="M12 9h.01"></path><path d="M11 12h1v4h1"></path><path d="M12 3c7.2 0 9 1.8 9 9c0 7.2 -1.8 9 -9 9c-7.2 0 -9 -1.8 -9 -9c0 -7.2 1.8 -9 9 -9"></path></svg></span></button></div><table style="--table-vertical-spacing:calc(0.4375rem * var(--mantine-scale))" class="m_b23fa0ef mantine-Table-table"><tbody class="m_b2404537 mantine-Table-tbody"><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">1</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Happy Ticket</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">2</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Fibonacci</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">3</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Sum of binary numbers</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">4</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Happy numbers</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">5</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Segment Classification</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">6</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Encryption</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">7</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Perfect Numbers</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">8</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Angle difference</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">9</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Rotation of Triples</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">10</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Inverted case</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">11</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Facade</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">12</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Power of three</p></td></tr><tr class="m_4e7aa4fd mantine-Table-tr" data-with-row-border="true"><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">13</p></td><td class="m_4e7aa4ef mantine-Table-td"><p class="mantine-focus-auto m_b6d8b162 mantine-Text-root">Fizzbuzz</p></td></tr></tbody></table></div></div><style data-mantine-styles="inline">.__m__-_R_lmiub_{--col-flex-grow:auto;--col-flex-basis:100%;--col-max-width:100%;}@media(min-width: 62em){.__m__-_R_lmiub_{--col-flex-grow:auto;--col-flex-basis:33.333333333333336%;--col-max-width:33.333333333333336%;}}</style><div class="m_96bdd299 mantine-Grid-col __m__-_R_lmiub_"><div style="--paper-shadow:var(--mantine-shadow-sm);margin-top:calc(-10.625rem * var(--mantine-scale));padding:0rem;position:sticky;top:calc(3.125rem * var(--mantine-scale))" class="m_e615b15f mantine-Card-root m_1b7284a3 mantine-Paper-root mantine-visible-from-md"><div class="m_e615b15f mantine-Card-root m_1b7284a3 mantine-Paper-root"><div style="margin-bottom:var(--mantine-spacing-md)" class="m_599a2148 mantine-Card-section" data-first-section="true"><img class="m_9e117634 mantine-Image-root" src="https://hexlet.io/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6ODAyMCwicHVyIjoiYmxvYl9pZCJ9fQ==--8270de4221ecf115976ecc69c1802a2cfd1ed4ac/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fZmlsbCI6WzYwMCw0MDBdfSwicHVyIjoidmFyaWF0aW9uIn19--6067466c2912ca31a17eddee04b8cf2a38c6ad17/image.png" alt="Course Cover"/></div><ul style="margin-bottom:var(--mantine-spacing-md)" class="m_abbac491 mantine-List-root"><li style="line-height:var(--mantine-line-height-xl)" class="m_abb6bec2 mantine-List-item" data-with-icon="true" data-centered="true"><div class="m_75cd9f71 mantine-List-itemWrapper"><span class="m_60f83e5b mantine-List-itemIcon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-device-desktop-code "><path d="M12.5 16h-8.5a1 1 0 0 1 -1 -1v-10a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v8"></path><path d="M7 20h4"></path><path d="M9 16v4"></path><path d="M20 21l2 -2l-2 -2"></path><path d="M17 17l-2 2l2 2"></path></svg></span><span class="mantine-List-itemLabel">Run code right in the browser</span></div></li><li style="line-height:var(--mantine-line-height-xl)" class="m_abb6bec2 mantine-List-item" data-with-icon="true" data-centered="true"><div class="m_75cd9f71 mantine-List-itemWrapper"><span class="m_60f83e5b mantine-List-itemIcon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-infinity "><path d="M9.828 9.172a4 4 0 1 0 0 5.656a10 10 0 0 0 2.172 -2.828a10 10 0 0 1 2.172 -2.828a4 4 0 1 1 0 5.656a10 10 0 0 1 -2.172 -2.828a10 10 0 0 0 -2.172 -2.828"></path></svg></span><span class="mantine-List-itemLabel">Lifetime access</span></div></li><li style="line-height:var(--mantine-line-height-xl)" class="m_abb6bec2 mantine-List-item" data-with-icon="true" data-centered="true"><div class="m_75cd9f71 mantine-List-itemWrapper"><span class="m_60f83e5b mantine-List-itemIcon"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-clock "><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"></path><path d="M12 7v5l3 3"></path></svg></span><span class="mantine-List-itemLabel">Learn at your own pace</span></div></li></ul><div style="--stack-gap:var(--mantine-spacing-xs);--stack-align:stretch;--stack-justify:flex-start" class="m_6d731127 mantine-Stack-root"><a style="--button-height:var(--button-height-md);--button-padding-x:var(--button-padding-x-md);--button-fz:var(--mantine-font-size-md);--button-color:var(--mantine-color-white);text-decoration:none" class="mantine-focus-auto m_849cf0da mantine-focus-auto mantine-active m_77c9d27d mantine-Button-root m_87cf2631 mantine-UnstyledButton-root m_b6d8b162 mantine-Text-root mantine-Anchor-root" data-size="md" data-underline="hover" href="/u/new"><span class="m_80f1301b mantine-Button-inner"><span class="m_811560b9 mantine-Button-label">Try →</span></span></a><p style="color:var(--mantine-color-dimmed);font-size:var(--mantine-font-size-sm);text-align:center" class="mantine-focus-auto m_b6d8b162 mantine-Text-root">This course is free</p></div></div></div></div></div></div></div></div>
</main>
<footer class="bg-dark fw-light text-light px-3 py-5">
<div class="row small">
<div class="col-12 col-sm-6 col-md-3">
<div class="h5 mb-3">About Hexlet</div>
<ul class="list-unstyled">
<li>
<a class="nav-link link-light py-1 ps-0" href="/pages/about">About us</a>
</li>
<li>
<span class="nav-link link-light py-1 ps-0 external-link" data-href="https://help.hexlet.io/category/4316" data-target="_blank" role="button">Help</span>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" target="_blank" rel="noopener noreferrer" href="/map">Site Map</a>
</li>
</ul>
</div>
<div class="col-12 col-sm-6 col-md-3">
<div class="h5 fw-normal mb-3">Learn</div>
<ul class="list-unstyled">
<li>
<a class="nav-link link-light py-1 ps-0" href="/courses_backend-development">Backend
</a></li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/courses_devops">DevOps
</a></li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/courses_frontend-development">Frontend
</a></li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/courses_python">Python
</a></li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/courses_testing">Testing
</a></li>
</ul>
</div>
<div class="col-12 col-sm-6 col-md-3">
<div class="h5"><span class="translation_missing" title="translation missing: en.layouts.footer_content.popular_courses_for_beginners">Popular Courses For Beginners</span></div>
<ul class="list-unstyled">
<li>
<a class="nav-link link-light py-1 ps-0" href="/programs/frontend">Frontend Developer</a>
</li>
</ul>
</div>
<div class="col-12 col-sm-6 col-md-3">
<div class="h5"><span class="translation_missing" title="translation missing: en.layouts.footer_content.popular_courses_for_advanced">Popular Courses For Advanced</span></div>
<ul class="list-unstyled">
<li>
<a class="nav-link link-light py-1 ps-0" href="/programs/web-development-free">Fundamentals of Web Development</a>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/programs/js-react-development">React</a>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/programs/css-animation">CSS Animation</a>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/programs/http-api">HTTP API</a>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/programs/layout-designer-positioning">Position CSS</a>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/programs/cli-basics">Command line basics</a>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/programs/git-basics-free">Git fundamentals</a>
</li>
</ul>
</div>
</div>
<hr>
<div class="row">
<div class="col-12 col-sm-4 col-md-2">
<div class="fs-4">
<ul class="list-unstyled d-flex">
<li class="me-3">
<a aria-label="Facebook" target="_blank" class="link-light" rel="noopener noreferrer nofollow" href="https://www.facebook.com/hexlethq"><span class="bi bi-facebook"></span>
</a></li>
<li class="me-3">
<a aria-label="Instagram" target="_blank" class="link-light" rel="noopener noreferrer nofollow" href="https://www.instagram.com/hello_hexlet/"><span class="bi bi-instagram"></span>
</a></li>
<li>
<a aria-label="Twitter" target="_blank" class="link-light" rel="noopener noreferrer nofollow" href="https://twitter.com/Hexlet_IO"><span class="bi bi-twitter-x"></span>
</a></li>
</ul>
</div>
<div class="mb-2 d-flex flex-column">
<a class="link-light text-decoration-none" rel="nofollow" href="mailto:support@hexlet.io">support@hexlet.io</a>
<a class="link-light text-decoration-none py-2" target="_blank" href="https://t.me/hexlet_help_bot">t.me/hexlet_help_bot</a>
</div>
<ul class="list-unstyled d-flex">
<li class="me-3">
<span class="link-light text-decoration-none opacity-50 x-font-size-18 opacity-100 external-link" rel="nofollow" data-href="https://hexlet.io/locale/switch?new_locale=en" data-target="_self" role="button"><span class="my-auto">EN</span>
</span></li>
<li class="me-3">
<span class="link-light text-decoration-none opacity-50 x-font-size-18 external-link" rel="nofollow" data-href="https://ru.hexlet.io/locale/switch?new_locale=ru" data-target="_self" role="button"><span class="my-auto">RU</span>
</span></li>
<li class="me-3">
<span class="link-light text-decoration-none opacity-50 x-font-size-18 external-link" rel="nofollow" data-href="https://kz.hexlet.io/locale/switch?new_locale=kz" data-target="_self" role="button"><span class="my-auto">KZ</span>
</span></li>
</ul>
</div>
<div class="col-12 col-sm-4 col-md-3">
<ul class="list-unstyled fs-4">
<li class="mb-3">
<a class="link-light text-decoration-none" href="tel:%2B7%20717%20272%2076%2070">+7 717 272 76 70</a>
<span class="d-block opacity-50 small">free call</span>
</li>
</ul>
</div>
<div class="col-12 col-sm-4 col-md-3">
<ul class="list-unstyled small">
<li>
<a class="nav-link link-light py-1 ps-0" href="/pages/legal">Legal</a>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/pages/offer"><span class="translation_missing" title="translation missing: en.layouts.footer_content.offer">Offer</span></a>
</li>
<li>
<a class="nav-link link-light py-1 ps-0" href="/pages/contacts"><span class="translation_missing" title="translation missing: en.layouts.footer_content.contacts">Contacts</span></a>
</li>
</ul>
</div>
<div class="col-12 col-sm-12 col-md-4 small">
<div class="mb-2">
<div>TOO "Hexlet"</div>
<div>The Republic of Kazakhstan, Almaty</div>
<div>Auezova St., 14A</div>
<div>BIN 230340043714
</div>
</div>
</div>
</div>
</footer>
<div id="root-assistant-offcanvas"></div>
<script src="/vite/assets/assistant-CIOaBlj-.js" crossorigin="anonymous" type="module"></script><link rel="modulepreload" href="/vite/assets/chunk-DsPFFUou.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/init-0bhwJkNI.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/ErrorFallbackBlock-V3hfk_CP.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/MarkdownBlock-DejNWqwz.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/gon-B-jV56Ol.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/mantine-DOJkeu70.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/shiki-DZwEN4Zo.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/utils-ClTF9s_T.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/routes-mvvEXZQ8.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/lib-CJocDKTE.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/Box-DH3_MBnL.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/notifications.store-Cj65YiRw.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/useIsomorphicEffect-Csl7vw8x.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/lib-DeAQqnBE.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/axios-CN66HKVH.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/classnames-DQgTDFJJ.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/dayjs.min-Bfba02I7.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/debounce-BcxwEZ7X.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/prop-types-DGBR76ns.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/client-CYyKzrjQ.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/react-dom-SJZekO2j.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/useTranslation-bo78L81P.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/compiler-runtime-BhqaZ6vG.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/jsx-runtime-DlXMvSuQ.js" as="script" crossorigin="anonymous">
<link rel="modulepreload" href="/vite/assets/react-CFtMU8gd.js" as="script" crossorigin="anonymous">
<script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"d11015b65d11429ea6b4a2ef37dd7e0b","server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script>
</body>
</html>