Commit 58462a2e by BellCodeEditor

auto save

parent 05fa1a58
Showing with 22 additions and 0 deletions
import turtle
screen=turtle.Screen()
len=screen.textinput('爱心大小','请输入爱心大小')
len = int(len)
screen.bgcolor('light blue')
p=turtle.Pen()
p.penup()
p.goto(100,-100)
p.write('鸡你太美,\n欧贝贝',font=('Times',13,'normal'))
p.pensize(8)
p.color('red')
p.goto(0,0)
p.left(45)
p.down()
p.fd(len*2)
p.circle(len,180)
p.right(90)
p.circle(len,180)
p.fd(len*2)
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