How to create om in Python turtle graphics .

import turtle 
t = turtle.Turtle()
t.color('orange')
t.pensize(30)
t.circle(110,190)
t.right(180)
t.forward(140)
t.circle(-110,190)
t.right(180)
t.circle(110,190)
t.forward(140)
t.right(180)
t.circle(110,190)
t.up()
t.right(90)
t.forward(80)
t.right(180)
t.down()
t.circle(60,180)
t.up()
t.left(90)
t.forward(60)
t.down()
t.circle(5)

Post a Comment

0 Comments