diff --git a/diy1.py b/diy1.py index ea750c7..d12bc8f 100644 --- a/diy1.py +++ b/diy1.py @@ -1,12 +1,15 @@ import turtle -''' -pen=turtle.Pen() -pen.write("你好\n孟老师",font=("times",30,"normal")) -pen.hideturtle() -turtle.done() -''' +# pen=turtle.Pen() +# pen.write("你好\n孟老师",font=("times",30,"normal")) +#pen.hideturtle() +#turtle.done() pen1=turtle.Pen() -pen1.circle(60) - - \ No newline at end of file +pen1.pencolor("red") +pen1.left(45) +pen1.forward(100) +pen1.circle(50,180) +pen1.right(90) +pen1.circle(50,180) +pen1.forward(100) +turtle.done()