Commit 642ca48d by BellCodeEditor

save project

parent 9a72fe8f
Showing with 4 additions and 1 deletions
......@@ -10,10 +10,12 @@ while True:
print("登录成功!")
if name !=username :
print("用户名错误,请重新输入")
print("温馨提示:你还有"+str(i)+"登陆机会")
continue
if password !=userpassword :
print("用密码错误,请重新输入")
print("温馨提示:你还有"+str(i)+"登陆机会")
else:
print("用户名和密码错误!请重新输入")
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