Skip to main content

Master Modern Technology Through Real Examples.

Pick a technology and learn it one small, working program at a time — every example shows the output it really printed.

1,111 lessons · 86 topics

Popular topics

Guess first. Then check.

Each example is a complete program, followed by its real output and an explanation of why it printed what it did.

Python
squares = [n * n for n in range(5)]
print(squares)
print(type(squares))
Output
$ python squares.py
[0, 1, 4, 9, 16]
<class 'list'>