Commit 2d5f28fd by BellCodeEditor

save project

parent 4f879715
Showing with 4 additions and 2 deletions
......@@ -5,8 +5,10 @@ pen.penup()
pen.goto(100,-100)
pen.write("你好呀,",font=("Times",15,"normal"))
screen=turtle.Screen()
screen.bgcolor("green")
len=random.randint(20,100)
screen.bgcolor("lightgreen")
len=screen.textinput("输入","输入数字")
len=int(len)
#len=random.randint(20,100)
pen1=turtle.Pen()
pen1.pensize(6)
pen1.color("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