Commit 709b9a5e by BellCodeEditor

save project

parent f20766da
Showing with 9 additions and 5 deletions
username ="qwer"
userpassword = "1111111"
name = input("请输入账号")
password = input("请输入密码")
if username == name and userpassword == password:
print("登录成功")
\ No newline at end of file
while True:
name = input("请输入账号")
password = input("请输入密码")
if username == name and userpassword == password:
print("登录成功")
break
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