Commit 51b6ea0d by BellCodeEditor

save project

parent bf5a8085
Showing with 2 additions and 2 deletions
...@@ -5,8 +5,8 @@ while True: ...@@ -5,8 +5,8 @@ while True:
e = input("请输入密码:") e = input("请输入密码:")
if name != c: if name != c:
print("用户名错误!请重新输入") print("用户名错误!请重新输入")
continue else:
if e != userpassword: pass e != userpassword:
print("密码错误!请重新输入") print("密码错误!请重新输入")
if name == c and e == userpassword: if name == c and e == userpassword:
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