Commit 8aedfb7e by BellCodeEditor

save project

parent 03f079fd
Showing with 12 additions and 7 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# pen=turtle.Pen()
# pen.write("春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen=turtle.Pen()
pen.write("春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。",font=("Times",30,"normal"))
pen.hideturtle()
p=turtle.Pen()
p.pensize(5)
p.pencolor("red")
p.left(45)
p.fd(100)
p.circle(50,180)
p.right(90)
p.circle(50,180)
p.fd(100)
p.hideturtle()
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