Commit 66e1e70b by BellCodeEditor

save project

parent 4ac38188
Showing with 5 additions and 4 deletions
...@@ -9,13 +9,14 @@ pen.write("=-=",font=("times",30,"normal") ...@@ -9,13 +9,14 @@ pen.write("=-=",font=("times",30,"normal")
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
len=60 len=60
lovesize=int(len)
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.setheading(45) pen1.setheading(45)
pen1.forward(2*len) pen1.forward(2*lovesize)
pen1.circle(len,180) pen1.circle(lovelize,180)
pen1.right(90) pen1.right(90)
pen1.circle(len,180) pen1.circle(lovesize,180)
pen1.forward(2*len) pen1.forward(2*lovesize)
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