Commit fffe70b4 by BellCodeEditor

save project

parent a15989ca
Showing with 25 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("red")
pen11=turtle.Pen()
pen11.penup()
pen11.goto(240,-200)
pen11.write("春晓\n春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。",font=("Times",50,"normal"))
pen11.hideturtle()
pen12=turtle.Pen()
pen12.pensize(7)
pen12.pencolor("pink")
pen12.fillcolor("pink")
pen12.begin_fill()
pen12.left(45)
pen12.forward(200)
pen12.circle(100,180)
pen12.right(90)
pen12.circle(100,180)
pen12.forward(200)
pen12.fillcolor("pink")
pen12.end_fill()
pen12.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