Commit 9970e170 by BellCodeEditor

save project

parent 3db9bfce
Showing with 6 additions and 5 deletions
...@@ -7,12 +7,13 @@ while True: ...@@ -7,12 +7,13 @@ while True:
password=input("请输入密码") password=input("请输入密码")
i-=1 i-=1
if username==name and userpassword==password: if username==name and userpassword==password:
print("登陆成功") print("登陆成功")
break break
if name != username: if name != username:
print("用户名不存在") print("用户名不存在")
continue continue
if print("密码不存在") if userpassword!=password:
print("密码不存在")
else: else:
print("滚") print("滚")
exit() exit()
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