Commit 65e4e60b by BellCodeEditor

save project

parent a973f6d7
Showing with 3 additions and 0 deletions
...@@ -10,9 +10,12 @@ while True: ...@@ -10,9 +10,12 @@ while True:
print("成功") print("成功")
break break
if name!=username: if name!=username:
print("不存在 请重新输入")
print("温馨提示 还有"+str(i)+"次机会")
continue continue
print("错误 ") print("错误 ")
if password!= userpassword: if password!= userpassword:
print("温馨提示 还有"+str(i)+"次机会")
print("错误") print("错误")
print("用户 密码错误") print("用户 密码错误")
else: else:
......
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