Commit 00e2b8a5 by BellCodeEditor

save project

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