Commit 99c322f4 by BellCodeEditor

save project

parent a50ceeec
Showing with 22 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
s.bgcolor("pink")
p=turtle.Pen()
p.penup()
p.goto(100,-100)
p.write("诺伊你好",font=("Times",20,"normal"))
p.hideturtle()
pp=turtle.Pen()
len=50
pp.color("red")
pp.pensize(5)
pp.left(45)
pp.forward(2*len)
pp.circle(len,180)
pp.right(90)
pp.circle(len,180)
pp.forward(2*len)
pp.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