Commit 24d9ac91 by BellCodeEditor

save project

parent 5bcd6518
Showing with 2 additions and 0 deletions
......@@ -11,8 +11,10 @@ while True:
break
if name!=username:
print("用户名错误")
print("温馨提示,你还有+"str(i)"次机会")
if password!=userpassword:
print("账号密码错误")
print("温馨提示,你还有"str(i)"次机会")
else:
print("连续3次错误")
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