Python
Complete Python course: from variables and loops to OOP, decorators, generators and real projects. The most popular language for beginners.
What You'll Learn
This Course Includes
Curriculum
30 lessons · 34 lessons · 27 exercises
Introduction to Python
What is Python, why learn it, first program
- What is Python? +10 XP
- First Program +15 XP
Variables & Data Types
Variables, int, float, str, bool, type()
- Variables +15 XP
Strings
String operations, f-strings, slicing, methods
- String Basics +15 XP
- Slicing & String Methods +10 XP
Numbers & Math
Arithmetic, math, random, type conversion
- Numbers & Operations +15 XP
Conditions
if/elif/else, logical operators, ternary
- if / elif / else +15 XP
Lists
Creation, methods, slicing, nested lists
- List Basics +15 XP
For Loops
for, range, enumerate, iterating collections
- For Loop +15 XP
While Loops
while, break, continue, infinite loops, else
- While Loop +15 XP
Tuples & Sets
tuple, set, frozenset, unpacking, operations
- Tuples +10 XP
- Sets +15 XP
Dictionaries
dict, methods, nested, dict comprehension
- Dictionary Basics +15 XP
Functions
def, arguments, return, *args, **kwargs, scope
- Function Basics +15 XP
Lambda & HOF
lambda, map, filter, sorted, reduce
- Lambda & map/filter +15 XP
Comprehensions
List, dict, set comprehensions, nested
- Comprehensions +15 XP
Error Handling
try/except/finally, raise, custom exceptions
- try / except +15 XP
File I/O
open, read, write, with, pathlib
- Reading & Writing Files +10 XP
Modules & Packages
import, pip, venv, creating modules
- Imports & Modules +10 XP
OOP: Classes
class, __init__, self, methods, attributes
- Class Basics +15 XP
OOP: Inheritance
super(), override, MRO, isinstance
- Inheritance +15 XP
Magic Methods
__str__, __add__, __len__, __eq__, dataclass
- Dunder Methods +10 XP
OOP: Advanced
@property, @staticmethod, @classmethod, ABC
- Property, Static, Class Methods +10 XP
Decorators
Wrapper functions, @decorator, functools.wraps, examples
- Decorators +10 XP
Generators & Iterators
yield, iter, next, generator expressions, itertools
- Generators (yield) +15 XP
Regular Expressions
re module, patterns, groups, search, replace
- re Module +10 XP
JSON & APIs
json module, requests, working with external APIs
- Working with JSON & APIs +10 XP
Type Hints
Type annotations, Optional, Union, Generic, mypy
- Type Annotations +10 XP
Testing
assert, unittest, pytest, TDD basics
- Testing Basics +10 XP
Project: Calculator
Console calculator with OOP and error handling
- Python Calculator +20 XP
Project: Task Manager
CLI to-do list with CRUD, filtering and statistics
- Task Manager +20 XP
Project: Quiz Game
Quiz game with scores, timer and results
- Quiz Game +20 XP
What's Next?
Career paths, resources, final test
- Python Directions +10 XP
- Final Test +20 XP
Requirements
No prior knowledge required — we start from scratch
Course FAQ
Do I need programming experience?
How do lessons work?
How long does the course take?
Will I get a certificate?
Ready to start?
Sign up for free and start coding right now. Your first result in 5 minutes.
Start Learning