Commit b9ab3a15 by BellCodeEditor

save project

parent a50ceeec
Showing with 18 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
s=turtle.Screen()
s.bgcolor("yellow")
pen.write("你好呀",font=("Times",20,"normal"))
p=turtle.Pen()
len1=input("你要多大的心")
len=int(len1)
p.left(45)
p.forward(len*2)
p.circle(len,180)
p.right(90)
p.circle(len,180)
p.forward(len*2)
pen.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