diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..d32211b --- /dev/null +++ b/diy1.py @@ -0,0 +1,186 @@ +import turtle +screen=turtle.Screen() +screen.bgcolor('orange') +pen=turtle.Pen() +pen.penup() +pen.goto(150,-190) +pen.write("你好\n",font=("Times",30,"normal")) +pen.hideturtle() +pen2=turtle.Pen() +pen2.pencolor('red') +pen2.pensize(5) +pen2.left(45) +pen2.forward(100) +pen2.circle(50,180) +pen2.right(90) +pen2.circle(50,180) +pen2.forward(100) +pen2.hideturtle() +turtle.done() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +