Commit 20f58e92 by BellCodeEditor

save project

parent ddf77755
Showing with 814 additions and 4 deletions
# # 利用write()帮助悟空给诺依回信吧~ # # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
len=int(input("你要心?"))
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(-100,-300) pen.goto(-100,-300)
...@@ -13,13 +14,822 @@ pen1.color("red") ...@@ -13,13 +14,822 @@ pen1.color("red")
pen1.begin_fill() pen1.begin_fill()
pen1.pencolor("red") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
pen1.forward(200) pen1.forward(2*len)
pen1.circle(100,180) pen1.circle(len,180)
pen1.right(90) pen1.right(90)
pen1.circle(100,180) pen1.circle(len,180)
pen1.forward(200) pen1.forward(2*len)
pen1.fillcolor() pen1.fillcolor()
pen1.end_fill() pen1.end_fill()
turtle.done() 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