diff --git a/diy1.py b/diy1.py index 9fa2f50..781f126 100644 --- a/diy1.py +++ b/diy1.py @@ -1,8 +1,11 @@ import turtle -# pen=turtle.Pen() -# pen.write("你\n好\n呀",font=("Times",20,"normal")) -# pen.hideturtle() -# turtle.done() +pen=turtle.Pen() +pen.penup() +pen.goto(100,-100) +pen.write("你\n好\n呀",font=("Times",20,"normal")) +pen.hideturtle() +screen=turtle.Screen() +screen.bgcolor("pink") pen1=turtle.Pen() pen1.pencolor("green") pen1.pensize(5)