Created
November 20, 2017 20:18
-
-
Save lkmandy/aca6967b6aabfbe2adba08f90851459b to your computer and use it in GitHub Desktop.
SquareFromCircle created by likhene - https://repl.it/@likhene/SquareFromCircle
This file contains hidden or 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
| 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