Advertisement
brendan-stanford

draw_circle

Aug 17th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. from turtle import Turtle
  2.  
  3. timmy = Turtle()
  4.  
  5. def draw_circle(name, horizontal, vertical, radius, colour):
  6. name.penup()
  7. name.goto(horizontal, vertical)
  8. name.color(colour)
  9. name.dot(radius*2)
  10.  
  11. draw_circle(timmy, 25, 100, 50, "green")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement