Commit 426a44db by BellCodeEditor

save project

parent 709b9a5e
Showing with 6 additions and 2 deletions
username ="qwer"
userpassword = "1111111"
userpassword = "12345"
while True:
name = input("请输入账号")
password = input("请输入密码")
if username == name and userpassword == password:
print("登录成功")
break
print("账号或密码输入错误,请重新输入")
if name != username:
print("用户名不存在,请重新输入")
if userpassword != password:
print("密码错误,请重新输入")
print("输入错误,请重新输入")
print("欢迎来到应用")
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