Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # show draw a circle
- # use an input prompt
- # fill a shape in
- import turtle
- wn = turtle.Screen()
- wn.bgcolor("skyblue") # background colour in sky blue
- dot_size = int(input("How big a radius do you want dot? >> "))
- dot = turtle.Turtle()
- dot.shape("turtle")
- dot.color("red")
- dot.begin_fill()
- dot.circle(dot_size)
- dot.end_fill()
- wn.exitonclick()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement