Commit d58a1eb6 by BellCodeEditor

save project

parent ba488834
Showing with 4 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen.write("o",font=("Times",20,"narmal")) # pen.write("o",font=("Times",20,"normal"))
# pen.hideturtle() # pen.hideturtle()
# turtle.done() # turtle.done()
pen=turtle.Pen() pen=turtle.Pen()
pen.pensize(5) pen.pensize(5)
pen.pencolor("green") pen.pencolor("green")
pen.left(45) pen.left(45)
pen.begin_fill()
pen.forward(100) pen.forward(100)
pen.circle(50,180) pen.circle(50,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.end_fill()
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
# pen.write("0",font=("Times",20,"nor")
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