diff --git a/diy1.py b/diy1.py index 078c3a6..0fa9a3c 100644 --- a/diy1.py +++ b/diy1.py @@ -1,11 +1,14 @@ import turtle -# pen=turtle.Pen() -# pen.write("扣诺Dio哒,木大木大木大木大木大",font=("Times",30,"normal")) -# pen.hideturtle() -# turtle.done() +screen=turtle.Screen() +screen.bgcolor("blue") +pen=turtle.Pen() +pen.penup() +pen.goto(-100,-100) +pen.write("扣诺Dio哒,木大木大木大木大木大",font=("Times",30,"normal")) +pen.hideturtle() pen1=turtle.Pen() pen1.pensize(5) -pen1.pencolor("green") +pen1.pencolor("red") pen1.left(45) pen1.forward(100) pen1.circle(50,180)