diff --git a/diy1.py b/diy1.py index e893644..5d75a1d 100644 --- a/diy1.py +++ b/diy1.py @@ -1,5 +1,17 @@ -import turtle -pen=turtle.Pen() -pen.write("你好",font=("Times",18,"normal")) -pen.hideturtle() -turtle.done() \ No newline at end of file +# import turtle +# pen=turtle.Pen() +# pen.write("你好",font=("Times",18,"normal")) +# pen.hideturtle() +pen1=turtle.Pen() +pen1.pensize(5) +pen1.pencolor("red") +pen1.left(45) +pen1.forword(100) +pen1.circle(50,180) +pen1.right(90) +pen1.circle(50,180) +pen1.forword(100) +pen1.hideturtle() +turtle.done + +