Repeat a block of code using
for [1..5] dot blue fd 25 rt 270, 50
A range with two dots counts from the first to the last number. (Using three dots skips the last number.)
The range can be a list of values.
for x in [5,10,20] dot red, x fd 25