Commit 2d3b5a55 by BellCodeEditor

save project

parent a50ceeec
Showing with 20 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
p=turtle.Pen()
s.bgcolor("pink")
p.penup()
p.goto(100,0)
p.write("书到用时方恨少,\n事非经过不知难!",font=("Times",13,"normal"))
p.hideturtle()
p1=turtle.Pen()
p1.pencolor("red")
p1.pensize(10)
p1.left(45)
p1.forward(100)
p1.circle(50,180)
p1.right(90)
p1.circle(50,180)
p1.forward(100)
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