Commit adc14c0a by BellCodeEditor

save project

parent 30d1b80c
Showing with 9 additions and 6 deletions
import turtle as v
len=20
v.textinput("提示","您想要多大的爱心呀?")
len=textinput("提示","您想要多大的爱心呀?")
linn=int(len)
s = v.Screen()
s.bgcolor("pink")
v.pensize(5)
v.pencolor("red")
v.left(45)
v.forward(2*len)
v.circle(len,180)
v.forward(2*linn)
v.circle(linn,180)
v.right(90)
v.circle(len,180)
v.forward(2*len)
v.circle(linn,180)
v.forward(2*linn)
v.penup()
v.goto(len,0)
v.goto(linn,0)
v.write("你好呀,12B",font=("Times",20,"normal"))
v.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