Commit cceda1b2 by BellCodeEditor

save project

parent 60e9d346
Showing with 15 additions and 11 deletions
# 利用write()帮助悟空给诺依回信吧~
# import turtle
# pen=turtle.Pen()
# pen.write("九月九日忆山东兄弟\n\n 独在异乡为异客,\n 每逢佳节倍思亲。\n 遥知兄弟登高处,\n 遍插茱萸少一人。\n _____【唐】王维",font=("Times",20,"normal"))
# pen.hideturtle()
# turtle.done()
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(95,-120)
pen.write("九月九日忆山东兄弟\n\n 独在异乡为异客,\n 每逢佳节倍思亲。\n 遥知兄弟登高处,\n 遍插茱萸少一人。\n _____【唐】王维",font=("Times",16,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(50)
pen1.pencolor("yellow")
pen1.pensize(55)
pen1.pencolor("red")
asv=70
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(asv*2)
pen1.circle(asv,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(asv,180)
pen1.forward(asv*2)
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