Commit 80452b51 by BellCodeEditor

save project

parent 45408d16
Showing with 15 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
a = turtle.Pen()
a.write("a",font = ("Times",20,"normal"))
a.hideturtle()
# a = turtle.Pen()
# a.write("a",font = ("Times",20,"normal"))
# a.hideturtle()
s = turtle.Pen()
s.circle(50)
s.pensize(5)
s.pencolor('black')
s.fillcolor('red')
s.begin_fill()
s.left(45)
s.forward(100)
s.circle(50,180)
s.right(90)
s.circle(50,180)
s.forward(100)
s.end_fill()
s.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