← all languages

Python

754 problems50 sections📅 2026 curriculum

Learn Python by typing clean, idiomatic code.

Practice Pythonic code by typing it: list and dict comprehensions, generators, decorators, context managers, and the duck typing that makes Python feel effortless. Every snippet is clean, idiomatic Python, and an AI tutor explains each line — why a comprehension beats a loop, how a decorator wraps a function — so good habits form as you build speed.

Progress0 / 754 solved · 0/50 sections
best wpm
0
avg wpm
0
accuracy
0%
runs
0
level
1
rating
1000
Run Python on your machine
1. Install the toolchain
brew install python # or: sudo apt install python3
2. Save your code as hello.py, then compile & run
python3 hello.py
Official install docs ↗
The first 3 sections are open — sign in for more, or upgrade for everything (English is fully free).Sign in
progress by section
1Fundamentals0/30start →
2Strings In Depth0/19start →
3Values & References0/18start →
4Slices & Arrays0/19Unlock →
5Data structures0/20Unlock →
6Iterators0/20Unlock →
7Traits0/18Unlock →
8Generics0/18Unlock →
9Lifetimes0/14Unlock →
10Closures0/19Unlock →
11Pattern Matching0/19Unlock →
12Error Handling0/19Unlock →
13Option & Result0/18Unlock →
14Conversions0/15Unlock →
15Collection Conversions0/18Unlock →
16Math0/19Unlock →
17Encoding0/21Unlock →
18Random0/20Unlock →
19Data I/O0/18Unlock →
20Linear Algebra0/22Unlock →
21Text Processing0/18Unlock →
22Date & Time0/17Unlock →
23Memory0/13Unlock →
24Modules0/18Unlock →
25Macros0/21Unlock →
26Testing0/20Unlock →
27Algorithms0/12Unlock →
28Sorting Algorithms0/13Unlock →
29Expression Parsing0/6Unlock →
30Idioms0/15Unlock →
31OOP & Traits0/14Unlock →
32Trait Objects0/12Unlock →
33Design Patterns0/14Unlock →
34Async0/11Unlock →
35File I/O0/10Unlock →
36Filesystem0/20Unlock →
37Networking0/16Unlock →
38Concurrency0/15Unlock →
39Unsafe & FFI0/14Unlock →
40Commands0/15Unlock →
41Array0/10Unlock →
42Binary0/5Unlock →
43String0/10Unlock →
44Matrix0/4Unlock →
45Interval0/5Unlock →
46Linked List0/6Unlock →
47Tree0/14Unlock →
48Graph0/8Unlock →
49Heap0/3Unlock →
50Dynamic Programming0/11Unlock →