Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle
- def draw_square(point):
- for i in range(1,5):
- point.forward(300)
- point.right(90)
- def draw_circle(circ):
- circ.circle(100)
- def draw_art():
- window=turtle.Screen()
- window.bgcolor('red')
- #Drawing a circle projection
- point=turtle.Turtle()
- point.shape('turtle')
- point.color('yellow')
- for i in range(1,37):
- draw_square(point)
- point.right(10)
- window.exitonclick()
- draw_art()
Advertisement
Add Comment
Please, Sign In to add comment