Commit 31d78f55 by BellCodeEditor

save project

parent 49bd72a2
Showing with 4 additions and 1511 deletions
...@@ -3,1522 +3,15 @@ import turtle ...@@ -3,1522 +3,15 @@ import turtle
# pen=turtle.Pen() # pen=turtle.Pen()
# pen.write("马\n牛\n逼\n是\n你",font=("Times",30,"normal")) # pen.write("马\n牛\n逼\n是\n你",font=("Times",30,"normal"))
# pen.hideturtle() # pen.hideturtle()
# turtle.done()
len =60 screen = turtle.Screen()
len =int(screen.textinput("提示","你要多大的爱心?"))
pen1 = turtle pen1 = turtle
pen1.left(45) pen1.left(45)
pen1.forward(2*len) pen1.forward(2*len)
pen1.circle(len,180) pen1.circle(len,180)
len=random.random(30,100)
pen1.right(90) pen1.right(90)
pen1.circle(len,180) pen1.circle(len,180)
pen1.forward(2*len) pen1.forward(2*len)
......
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