Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Draw 3 circles to the left
- from turtle import Turtle
- tina = Turtle()
- def draw_circle(x, y, name, r, colour):
- name.goto(x,y)
- name.color(colour)
- name.dot(r*2)
- draw_circle(0, 0, tina, 150, "blue")
- draw_circle(-50, 0, tina, 100, "red")
- draw_circle(-100, 0, tina, 50, "yellow")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement