Commit 2351a63a by BellCodeEditor

save project

parent 04e62e96
Showing with 8 additions and 6 deletions
import turtle import turtle
# pen = turtle.Pen() screen=turtle.Screen()
# pen.write("锄禾日当午,\n汗滴禾下土。",font=("Times",30,"normal")) screen.bgcolor("blue")
# pen.hideturtle() pen = turtle.Pen()
# turtle.done() pen.goto(100,-100)
pen.penup
pen.write("锄禾日当午,\n汗滴禾下土。",font=("Times",30,"normal"))
pen.hideturtle
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.shape("turtle") pen1.shape("turtle")
pen1.color("green") pen1.color("red")
pen1.pensize(5) pen1.pensize(5)
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
...@@ -13,5 +16,4 @@ pen1.circle(50,180) ...@@ -13,5 +16,4 @@ pen1.circle(50,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.turtle.hide
turtle.done() turtle.done()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment