Commit 72743aaf by BellCodeEditor

save project

parent 1db5462d
Showing with 3 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
len=100
#背景颜色 #背景颜色
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light yellow") screen.bgcolor("light yellow")
...@@ -10,6 +10,8 @@ pen.penup() ...@@ -10,6 +10,8 @@ pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("诺依,\n你好,再见,慢走不送",font=("Times",20,"normal")) pen.write("诺依,\n你好,再见,慢走不送",font=("Times",20,"normal"))
pen.hideturtle() pen.hideturtle()
lovesize=screen.textinput("爱心","大小:")
len=int(lovesize)
#画爱心❤ #画爱心❤
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.penup() pen1.penup()
......
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