With loops we can tell our turtle to repeat things a number of times. These blocks tell the turtle to make a randome colored circle in a random location 10 times: <iframe src="https://trinket.io/embed/blocks/5b7e74c706" width="100%" height="550" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe> Things to try: * Change the number of times the Turtle goes through the loop. How about `1` time? Or `100` times? * The turtle changes a random color each time. Can you have it be your favorite color instead? Hint: you'll need to pick from the list of Color blocks on the left hand side. * The turtle goes to random location each loop. The location it chooses is currently between -200 and 200. Can you make this a smaller range instead?

Congratulations!

Enter your Name and Save your certificate:

Your certificate has been created!

Share this link with your friends, family or teacher:

Certificate of Completion

Presented to
for successfully completing an Hour of Python!
On behalf of the trinket.io team, congratulations and thanks!
Visit hourofpython.com to keep learning.
×