Commit 0d936864 by BellCodeEditor

save project

parent 857412c5
Showing with 3 additions and 1 deletions
......@@ -4,6 +4,9 @@ import turtle
#画布
screen = turtle.Screen()
screen.bgcolor("pink")
#弹出框
leng = screen.textinput("提示","你想要多大的爱心?")
len = int(leng)
#画笔
pen = turtle.Pen()
pen.penup()
......@@ -11,7 +14,6 @@ pen.goto(200,-200)
pen.write("Hi~\n凡凡",font = ("Times",20,"normal"))
pen.hideturtle()
#心
len = 50
pen1 = turtle.Pen()
pen1.pensize(5)
pen1.pencolor("red")
......
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