diff --git a/2.py b/2.py new file mode 100644 index 0000000..f7ea9af --- /dev/null +++ b/2.py @@ -0,0 +1,3 @@ +import turtle +pen=turtle.Pen() +pen.write("你好\n悟空。"‘font) \ No newline at end of file diff --git a/diy1.py b/diy1.py index 85ce3b6..e5e53ea 100644 --- a/diy1.py +++ b/diy1.py @@ -5,7 +5,7 @@ screen.bgcolor("light blue") len=screen.textinput("100","100") len=int(len) pen=turtle.Pen() -pen.write("你好\nSB.",font=("Times",30,"normal")) +pen.write("你好\n悟空\n欢迎你来到python编程世界.",font=("Times",30,"normal")) pen.hideturtle() len=60 pen.penup()