diff --git a/diy1.py b/diy1.py index 94c1f1a..85ce3b6 100644 --- a/diy1.py +++ b/diy1.py @@ -2,10 +2,10 @@ import turtle screen=turtle.Screen() screen.bgcolor("light blue") -len=screen.textiint(len) +len=screen.textinput("100","100") +len=int(len) pen=turtle.Pen() -pen.write("nput("100","100") -len=你好\nSB.",font=("Times",30,"normal")) +pen.write("你好\nSB.",font=("Times",30,"normal")) pen.hideturtle() len=60 pen.penup()