diff --git a/diy1.py b/diy1.py index 5482367..c5c1452 100644 --- a/diy1.py +++ b/diy1.py @@ -1,5 +1,15 @@ import turtle -pen=turtle.Pen() -pen.write("你好,\nhello,\nhi.",font=("宋体",20,"normal")) -pen.hideturtle() +# pen=turtle.Pen() +# pen.write("你好,\nhello,\nhi.",font=("宋体",20,"normal")) +# pen.hideturtle() +# turtle.done() +pen2=turtle.Pen() +pen2.pensize(5) +pen2.color("red") +pen2.left(45) +pen2.forward(100) +pen2.circle(50,180) +pen2.right(90) +pen2.circle(50,180) +pen2.forward(100) turtle.done() \ No newline at end of file