Commit 3a6710ab by BellCodeEditor

save project

parent 562a3909
Showing with 4 additions and 2 deletions
......@@ -11,11 +11,12 @@ while True:
break
if name != username:
print("用户不存在,请重新输入。")
print("温馨提示:您还有"+str(i)"次登陆机会")
print("温馨提示:您还有"+str(i)+"次登陆机会")
continue
if password != userpassword:
print("密码错误,请重新输入。")
print("温馨提示:您还有"+str(i)"次登陆机会")
print("温馨提示:您还有"+str(i)+"次登陆机会")
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