-
-
Save stephengruppetta/9190429d85bf1ca5430c4fbd978715c2 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
# ... | |
# If cute_turtles is a list of turtles, such as | |
# cute_turtles = [turtle.Turtle() for _ in range(n_turtles)] | |
[cute_turtle.forward(1) for cute_turtle in cute_turtles] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment