In this project, you practice loop and defining custom functions. Draw the following shape with a for loop. Define a function draw_circle(x,y,r), which draws a circle centered at (x,y) and
Draw the following hexagram with Python and Turtle. Hint: Think about where to start. The point at the bottom looks like a good starting point. Related Projects: Projects with similar
import turtle
turtle.speed(0)
turtle.pensize(7.5)
turtle.begin_fill()
turtle.fillcolor(‘bisque’)
turtle.right(90)
turtle.fd(70)
turtle.circle(10,180)
turtle.fd(70)
turtle.left(90)
turtle.fd(20)
turtle.end_fill()
turtle.begin_fill()
turtle.fillcolor(‘pink’)
turtle.fd(100)
turtle.left(180)
turtle.fd(220)
turtle.left(90)
turtle.fd(250)
turtle.circle(110,180)
turtle.fd(250)
turtle.end_fill()
Great. Looks good!