Commit 9f6e6b79 by BellCodeEditor

save project

parent 6cd54fec
Showing with 7 additions and 0 deletions
......@@ -12,10 +12,16 @@ while True:
print("用户名错误,请重新输入")
i-=1
continue
print("您还有i次登陆机会")
if password!=userpassword:
print("密码错误,请重新输入")
i-=1
if i==2:
print("您还有2次登陆机会")
if i==1:
print("您还有1次登陆机会")
else:
print("账户已锁定")
exit()
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