Commit 86013884 by BellCodeEditor

auto save

parent 51adc672
Showing with 22 additions and 0 deletions
import turtle
import turtle
turtle.bgcolor("light blue")
turtle.pencolor("red")
turtle.pensize(5)
len=turtle.textinput("文本弹窗","请输入想要的数字:")
len1=int(len)
turtle.fillcolor("lan")
turtle.begin_fill()
turtle.left(45)
turtle.forward(2*len1)
turtle.circle(len1,180)
turtle.forward(2*len1)
turtle.end_fill()
turtle.penup()
turtle.goto(80,-50)
turtle.pendown()
turtle.pencolor("black")
turtle.write("新年快乐!\n我是苏浩添,\n我祝大家快快乐乐每一天",font=("楷书",20,"normal"))
turtle.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