Commit 449ace8d by BellCodeEditor

save project

parent a50ceeec
Showing with 20 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
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