Practice
Challenges
16 short challenges across 8 sets, in the same order as the lessons on Learn to Write Code. Every one runs in pseudocode, Python, and JavaScript, so you can write the same idea three ways and see that it is the same idea.
Nothing is locked, nothing is scored, and we keep nothing. Start where you like.
Set 01
Variables & Data
Store a value, change it, and show it.
Set 02
Operators & Comparisons
Do arithmetic, and ask questions that answer true or false.
Set 03
Input, Output & Comments
Ask a question, use the answer, and leave a note for the next reader.
Set 04
Program Structure & Sequence
Order matters -- run the steps in the order the result needs.
Set 05
Conditions & Branching
Let the program choose between two or more paths.
Set 06
Loops & Repetition
Repeat work without writing it out over and over.
Set 07
Functions & Reuse
Write something once and use it as many times as you like.
Set 08
Objects & Blueprints
Describe a thing once, then make as many of them as you need.