Commit 84c408c3 by BellCodeEditor

save project

parent e0dd4616
Showing with 7 additions and 1 deletions
...@@ -2,9 +2,15 @@ ...@@ -2,9 +2,15 @@
import turtle import turtle
pen1=turtle.Pen() pen1=turtle.Pen()
pen=turtle.Pen() pen=turtle.Pen()
a=120
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("yellow") screen.bgcolor("yellow")
b=screen.textinput("提示","你想要多大的爱心")
a=int(b)
pen1.penup() pen1.penup()
pen1.goto(150,-150) pen1.goto(150,-150)
pen1.write("提前大家\n元旦快乐!",font=("Times",30,"normal")) pen1.write("提前大家\n元旦快乐!",font=("Times",30,"normal"))
......
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