Commit 68d683dc by BellCodeEditor

save project

parent a50ceeec
Showing with 28 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("orange")
pen=turtle.Pen()
pen.write("真不搓",font=("Times",50,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
len=screen.textinput("设置大小","输入你喜欢的大小")
lovesize=int(len)
pen1.penup()
pen1.goto(-50,50)
pen1.pendown()
pen1.pensize(10)
pen1.pencolor("pink")
pen1.left(45)
pen1.forward(2*lovesize)
pen1.circle(lovesize,180)
pen1.right(90)
pen1.circle(lovesize,180)
pen1.forward(2*lovesize)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
screen=turtle.Screen()
screen.textinput("姓名框","你的名字是:")
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