Commit 848bea3f by BellCodeEditor

save project

parent 654bc3ba
Showing with 22 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
Pen=turtle.Pen()
Pen.penup()
Pen.goto(100,-100)
Pen.write("嗨!诺依,\n我要去米国了!\n ——悟空",font=("Times",20,"normal"))
Pen.hideturtle()
Pena=turtle.Pen()
Pena.fillcolor("gold")
Pena.pensize(4)
Pena.pencolor("red")
Pena.hideturtle()
Pena.begin_fill()
Pena.left(45)
Pena.forward(120)
Pena.circle(60,180)
Pena.left(270)
Pena.circle(60,180)
Pena.forward(120)
Pena.end_fill()
turtle.done()
\ No newline at end of file
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