Commit 2cef3218 by BellCodeEditor

auto save

parent 636967ac
Showing with 15 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s = turtle.Screen()
s.bgcolor("yellow")
p = turtle.Pen()
#p.write("锄禾日当午,\n汗滴禾下土,\n谁知盘中餐,\n粒粒皆辛苦。",font=("Time",30,"normal"))
p.penup()
p.goto(100,-100)
p.write("锄禾日当午,\n汗滴禾下土,\n谁知盘中餐,\n粒粒皆辛苦。",font=("Time",30,"normal"))
p.hideturtle()
p1 = turtle.Pen()
p1.circle(200)
p1.pensize(10)
p1.pencolor("green")
p1.left(45)
p1.forward(100)
p1.circle(50,180)
p1.right(90)
p1.circle(50,180)
p1.forward(100)
p1.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