Commit 358cb205 by BellCodeEditor

save project

parent a15989ca
Showing with 18 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
a=turtle.Pen()
a.goto(-100.0)
a.write("君不见黄河之水天上来\n奔流到海不复回\n君不见高堂明镜悲白发\n朝如青丝暮成雪\n人生得意须尽欢\n莫使金樽空对月\n天生我材必有用\n千金散尽还复来\n烹羊宰牛且为乐\n会须一饮三百杯\n岑夫子\n丹丘生\n将进酒\n君莫停",font=("Times",20,"normal"))
a.hideturtle()
pen1=turtle.Pen()
pen1.pensize(6)
pen1.pencolor("yellow")
pen1.left(45)
pen1.forword(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hateturtle()
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