Commit d39d6fbe by BellCodeEditor

save project

parent a3850da7
Showing with 7 additions and 1 deletions
...@@ -6,5 +6,10 @@ while True: ...@@ -6,5 +6,10 @@ while True:
if name==unname and mm==unmm: if name==unname and mm==unmm:
print("登录成功") print("登录成功")
break break
print("密码错误,请重新输入") elif name!=unname:
print("用户名错误,请重新输入")
elif mm!=unmm:
print("密码错误,请重新输入")
elif mm!=unmm and name!=unname:
print("都错了,你滚!")
print("欢迎来到悍匪窝") print("欢迎来到悍匪窝")
\ No newline at end of file
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