Commit 5710f51c by BellCodeEditor

auto save

parent 10a1c9f4
Showing with 0 additions and 25 deletions
import turtle
screen=turtle.Screen()
len=screen.textinput("你想要的爱心大小","25-100(建议填50):")
zheng=int(len)
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("中国大妈\n胜过\n新冠病毒\n哈哈哈\n什么鬼东东!",font=("times",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.penup()
pen1.goto(-100,-60)
pen1.pendown()
pen1.pensize(10)
pen1.pencolor("pink")
pen1.left(45)
pen1.forward(2*zheng)
pen1.circle(zheng,180)
pen1.right(90)
pen1.circle(zheng,180)
pen1.forward(2*zheng)
pen1.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