Commit 4fc5a5a2 by BellCodeEditor

auto save

parent 8d6bf39e
Showing with 25 additions and 3 deletions
import turtle import turtle
pen = turtle.Pen() # pen = turtle.Pen()
pen.write("你好",font=("Times",20,"normal")) # pen.write("你好",font=("Times",20,"normal"))
pen.hideturtle() # pen.hideturtle()
# turtle.done()
pen1 = turtle.Pen()
pen1.circle(100)
pen1.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
import turtle
pen = turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill()
pen = turtle.Pen()
pen.up()
pen.goto()
pen.write("你好",font=("Times",20,"normal"))
pen.hideturtle()
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