What to do

Add up every whole number from 1 to 10, then show the total once, at the end.

Only one line of output. The answer is 55 -- but write the loop rather than the number.

Your code Pseudocode
Output

Press Run to see what your code does.

Stuck on the idea rather than the typing? The lesson behind this set is Loops & Repetition on Learn to Write Code.