diff --git a/diy1.py b/diy1.py index adc3c58..99a9824 100644 --- a/diy1.py +++ b/diy1.py @@ -1,8 +1,10 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle +screen=turtle.Screen() +screen.bgcolor("pink") pen=turtle.Pen() pen.penup() -pen.goto(250,-250) +pen.goto(100,-100) pen.pendown() pen.write("诺依,\n你好呀",font=("宋体",20,"normal")) pen1=turtle.Pen() @@ -15,4 +17,5 @@ pen1.right(90) pen1.circle(50,180) pen1.forward(100) pen1.hideturtle() +pen.hideturtle() turtle.done() \ No newline at end of file