Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle
- t = turtle.Turtle()
- draw_area = turtle.Screen()
- draw_area.setup(width = 500, height =500)
- print(draw_area.setup)
- #draw_area.title('jons turtle')
- def square(x):
- for i in range(4):
- t.fd(50)
- t.right(x)
- print("jij")
- for j in ('#ffff00', '#009900', '#cc66cc'):
- t.color(j)
- t.begin_fill()
- t.circle(50)
- t.forward(10)
- t.end_fill()
- square(90)
- draw_area.exitonclick()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement