Commit 0f1ff386 by BellCodeEditor

save project

parent c201af35
Showing with 7 additions and 25 deletions
import turtle zh="www"
screen=turtle.Screen() mm="123456"
screen.bgcolor("pink") name=input("输入账号:")
pen1=turtle.Pen() mima=input("输入密码:")
pen1.penup() if name==zh and mima==mm:
pen1.goto(-100,-100) print("登录成功")
pen1.write("祝你生日快乐",font=("Times",30,"normal")) \ No newline at end of file
pen1.hideturtle()
pen=turtle.Pen()
pen.penup()
pen.goto(0,100)
pen.pendown()
pen.pensize(5)
ls=screen.textinput("写","你想要多大的爱心")
l=int(ls)
pen.pencolor("red")
pen.left(45)
pen.forward(2*l)
pen.circle(l,180)
pen.right(90)
pen.circle(l,180)
pen.forward(2*l)
pen.color('red')
pen.hideturtle()
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