Commit a5c5278d by BellCodeEditor

auto save

parent c2f1308f
Showing with 24 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file import turtle
len=70
b=turtle.Screen()
b.bgcolor("pink")
len=int(b.textinput('提示',"多大的爱心"))
a = turtle.Pen()
a.hideturtle()
a.pencolor('black')
a.write("woshishui",font=('times',20,"normal"))
a.pensize(5)
a.pencolor('red')
a.left(45)
a.forward(2*len)
a.circle(len,180)
a.right(90)
a.circle(len,180)
a.forward(2*len)
turtle.done(
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