Skip to content

Instantly share code, notes, and snippets.

@Ad115
Last active April 21, 2018 01:10
Show Gist options
  • Save Ad115/3f55cee751e968431e96884b8026ab17 to your computer and use it in GitHub Desktop.
Save Ad115/3f55cee751e968431e96884b8026ab17 to your computer and use it in GitHub Desktop.
# Import the turtle graphics module
import turtle
# Create a new turtle with the
# Turtle function of the turtle module
t = turtle.Turtle()
# 100 times...
for x in range(100):
t.forward(x) # Move forward x steps
t.left(90) # Turn left 90 degrees
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment