How it works
Typing the same line again and again is slow, and a typo can hide in one of the copies. A loop lets you write the job once.
A for loop repeats the lines pushed in under it. Range says how many turns there are.
Range of five counts zero, one, two, three and four. That is five numbers, so the loop turns five times.
Only lines pushed in belong to the loop. A line that is not pushed in runs just once.