Commit 2c92b01f by BellCodeEditor

save project

parent fa69721f
Showing with 2 additions and 1 deletions
...@@ -7,9 +7,10 @@ while True: ...@@ -7,9 +7,10 @@ while True:
if name != username: if name != username:
print("用户名不存在!") print("用户名不存在!")
continue continue
password = input("请输入密码!")
if password != userpassword: if password != userpassword:
print("密码不存在!") print("密码不存在!")
exit
if name == username and password == userpassword: if name == username and password == userpassword:
print("输入正确!") print("输入正确!")
break break
......
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