Commit 4b3a6ec2 by BellCodeEditor

save project

parent cc698dc3
Showing with 25 additions and 3 deletions
import turtle
screen=turtle.Screen()
screen.bgcoior("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("1",font=("Times",20,"normal"))
pen.hideturle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
len=30
lovesize=int(len)
pen1.left(45)
pen1.forwerd(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forwerd(2*len)
pen1.hideturtle()
turtle.done()
......@@ -10,6 +10,7 @@ pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
len=30
lovesize=int(len)
pen1.left(45)
pen1.forwerd(2*len)
pen1.circle(len,180)
......@@ -17,5 +18,5 @@ pen1.right(90)
pen1.circle(len,180)
pen1.forwerd(2*len)
pen1.hideturtle()
turtle.doneimport turle
screen=turle.Scr
\ No newline at end of file
turtle.done()
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