Worked examples

A program. The output. Then why.

Worked examples — a program, the output, then why. Chapter tutorials live under Courses. Python if you are new. C++, JavaScript, or Java if you already write code.

python · first program
Run
1 # The classic first Python program
2 print("Hello, World!")

Output

Hello, World!

Next · Add Two NumbersOpen →