Commit e5840776 by BellCodeEditor

save project

parent 9a375021
Showing with 6 additions and 4 deletions
...@@ -7,13 +7,14 @@ pen.goto(100,-100) ...@@ -7,13 +7,14 @@ pen.goto(100,-100)
pen.write("360\nashafhuia",font=("Times",20,"normal")) pen.write("360\nashafhuia",font=("Times",20,"normal"))
pen.hideturtle() pen.hideturtle()
P=turtle.Pen() P=turtle.Pen()
len=50
P.pencolor("red") P.pencolor("red")
P.pensize(10) P.pensize(10)
P.left(45) P.left(45)
P.forward(100) P.forward(2*len)
P.circle(50,180) P.circle(len,180)
P.right(90) P.right(90)
P.circle(50,180) P.circle(len,180)
P.forward(100) P.forward(2*len)
P.hideturtle() P.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment