Commit 9b6dc2d5 by BellCodeEditor

save project

parent a50ceeec
Showing with 23 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
len=50
p=turtle.Pen()
p.penup()
p.goto(100,-100)
p.write("How are you?\nDo you like eat egg with tomato?\n",font=("Times",20,"normal"))
p.hideturtle()
s=turtle.Screen()
s.bgcolor("pink")
p1=turtle.Pen()
p1.pensize(5)
p1.pencolor("red")
p1.left(45)
p1.fd(2*len)
p1.circle(len,180)
p1.rt(90)
p1.circle(len,180)
p1.fd(2*len)
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