Created
November 2, 2016 21:52
-
-
Save joetechem/44b3262a7c6058fb8f59003a0fdadc08 to your computer and use it in GitHub Desktop.
For_Loop_Turtle
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
for i in range(4): | |
t.forward(100) # notice the indentation | |
t.left(90) | |
# VERSUS | |
for i in range(4): | |
t.forward(100) # notice the lack of indentation here | |
t.left(90) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment