-
-
Save stephengruppetta/15bf9e58e97dbc269be8235be43b3c68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Traditional route… | |
# ... | |
# If cute_turtles is a list of turtles, such as | |
# cute_turtles = [turtle.Turtle() for _ in range(n_turtles)] | |
while True: | |
for cute_turtle in cute_turtles: | |
cute_turtle.forward(1) | |
window.update() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment