Python and Turtle Difficulty Level 2 Football Shape with Python Turtle

Football Shape with Python Turtle

Draw a football shape as shown with Turtle’s circle function.

Football Shape with Python Turtle

Code:

r = 150
turtle.up()
turtle.goto(-r/2**0.5,0)
turtle.right(45)
turtle.down()
turtle.circle(r,90)
turtle.left(90)
turtle.circle(r,90)
Tags:

Related Post