Commit 298bca1f by BellCodeEditor

save project

parent c011b049
Showing with 3 additions and 1 deletions
......@@ -10,9 +10,11 @@ while True:
print("登录成功")
if name !=username:
print("用户名错误,请重试")
print("提示:你还有"+str(i)+"次登录机会")
continue
if password !=serpassword:
print("密码错误,请重试")
print("密码错误,请重试")
print("提示:你还有"+str(i)+"次登录机会")
else:
print("输入错误2次,你已被锁定")
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