Commit 4f8bab3e by BellCodeEditor

save project

parent 4fd15646
Showing with 11 additions and 15 deletions
import turtle usename"python"
pen=turtle.Pen usrpassword"123456"
pen.pensize(5) name=input("请输入用户名")
pen.pencolor("red") name=input("请输入密码")
pen.lefe(90) while True:
pen.circle(50,180) if 1>0
pen.left(45) if password!=usrpassword:
pen.forward(100) print("登录失败,请重新输入")
pen.circle(50,180) if name!=usenam:
pen.right(90) priat("登录失败,请重新输入")
pen.circle(50,180) i=-1
pen.forward(100)
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