How to draw a semi circle(half circle) in python turtle only?
I can only use Python turtle. I have try looking for resouces but no luck on finding ones that only use Python turtle.
See Python turtle reference on circle. For example, for a semi-circle with radius 100 it would be:
import turtle
turtle.circle(100,180)
Try the following:
import turtle
t = turtle.Pen()
t.left(90)
for x in range(180):
t.forward(1)
t.right(1)
t.right(90)
t.forward(115)
you can also do it just using circle. turtle.circle(radius, extent,steps)
eg.
turtle.circle(50,180) # - step is optional
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With