Results and the cheat sheet fill in as you go. Nothing here is locked; come back whenever you like.
Next in this path: Functions · 6 lessons · 1 h 05 min
Mastery by outcome
Each outcome is backed by the checks that test it. Solid means every check was right first time; with hints means you got there with a nudge; worth a revisit means an answer was revealed or is still wrong.
1
Write a loop that goes through a row of values, adding up or printing as it goes, and say what each box holds after any pass.
Not yet
2
Write a counting loop that runs from one number up to another, and say which number is printed last.
Not yet
3
Write a while loop that stops when its condition fails, and spot one that would never stop.
Not yet
4
Say how many times the inner lines of two loops, one inside the other, run, and in which order the two counters change.
Not yet
5
Use break to leave a loop early and continue to skip one pass, and say which value a search stops at.
Not yet
Your cheat sheet
What each lesson leaves you able to do, in one place. Lessons you have not finished are dimmed, not hidden.