Commit fea73ab7 by BellCodeEditor

save project

parent 1130c3f3
Showing with 3 additions and 2 deletions
...@@ -4,12 +4,13 @@ screen.bgcolor("pink") ...@@ -4,12 +4,13 @@ screen.bgcolor("pink")
pen =turtle.Pen() pen =turtle.Pen()
pen.penup() pen.penup()
pen.goto(180,-180) pen.goto(180,-180)
pen.write("开学快乐\n我要好好学习",font=("Times",10,"normal")) pen.write("开学快乐\n我要好好学习",font=("Times",15,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(6) pen1.pensize(6)
pen1.pencolor("red") pen1.pencolor("red")
len=80 s=screen.textinput("提问","你需要多大的爱心")
len=int(s)
pen1.left(45) pen1.left(45)
pen1.forward(2*len) pen1.forward(2*len)
pen1.circle(len,180) pen1.circle(len,180)
......
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