Commit ee052993 by BellCodeEditor

save project

parent e7151a31
Showing with 3 additions and 3 deletions
...@@ -10,11 +10,12 @@ while True: ...@@ -10,11 +10,12 @@ while True:
print("登录成功!") print("登录成功!")
break break
if name != username: if name != username:
print("欢迎来到贝尔编程!") print("用户名错误,请重新输入")
print("温馨提示:您还有"+str(i)+"次登录机会")
continue continue
if print("密码输入有误,请重新输入!"): if print("密码输入有误,请重新输入!"):
print("欢迎来到贝尔编程!") print("欢迎来到贝尔编程!")
else: else:
print("你的账户已被锁定,请一个小时以后再来") print("你的账户已被锁定,请一个小时以后再来")
exit() exit()
print("欢迎来到贝尔编程") 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