Code you can read. Output you can check.

Learn programming from examples you can actually run.

Clear explanations, complete code and the exact output — on the language, data structures, networking, concurrency, databases and data analysis.

How every page works

nums = [4, 8, 15, 16, 23, 42]
evens = [n for n in nums if n % 2 == 0]
print(evens)
[4, 8, 16, 42]

Concept → complete example → exact output. Nothing skipped.

127 tutorials

Standard Library Modules

The standard library, one module at a time.

See the whole section →

54 tutorials

Databases

Connecting to SQL and NoSQL databases.

See the whole section →

27 tutorials

Multithreading

Running work in parallel threads.

See the whole section →

All topics

Everything on the site, grouped the way you'd learn it.

Databases