diff --git a/diy1.py b/diy1.py index 85ce3b6..770c1ef 100644 --- a/diy1.py +++ b/diy1.py @@ -1,11 +1,7 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -screen=turtle.Screen() -screen.bgcolor("light blue") -len=screen.textinput("100","100") -len=int(len) -pen=turtle.Pen() -pen.write("你好\nSB.",font=("Times",30,"normal")) +huabi=turtle.Pen() +huabi.write("你好啊"font=("times",30,"normal")) pen.hideturtle() len=60 pen.penup()