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