Commit b89fdffc by BellCodeEditor

save project

parent b5030a2a
Showing with 15 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.write("一十\n举年\n成寒\n名窗\n天无\n下人\n知问",font=("宋体",30,"normal"))
pen.hideturtle()
turtle.done()
# pen.write("一十\n举年\n成寒\n名窗\n天无\n下人\n知问",font=("宋体",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen.pensize(5)
pen.pencolor("red")
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()
\ 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