Skip to content

Instantly share code, notes, and snippets.

@lkmandy
Created November 20, 2017 20:18
Show Gist options
  • Select an option

  • Save lkmandy/aca6967b6aabfbe2adba08f90851459b to your computer and use it in GitHub Desktop.

Select an option

Save lkmandy/aca6967b6aabfbe2adba08f90851459b to your computer and use it in GitHub Desktop.
SquareFromCircle created by likhene - https://repl.it/@likhene/SquareFromCircle
import turtle
mandy_turtle = turtle.Turtle()
mandy_turtle.speed(0)
def squareCircle( length, angle ):
for i in range(4):
mandy_turtle.forward(length)
mandy_turtle.right(angle)
for j in range(100):
squareCircle(100,90)
mandy_turtle.right(13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment