Commit 75e287be by BellCodeEditor

save project

parent c131a27c
Showing with 2 additions and 2 deletions
......@@ -2,13 +2,13 @@
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len1=screen.textinput("提示","请写出爱心大小(填数字)")
len=int(len1)
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好.",font=("Times",30,"normal"))
pen.hideturtle()
len1=screen.textinput("提示","请输入爱心大小(填数字)")
len=int(len1)
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
......
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