Commit ac2eb1ab by BellCodeEditor

save project

parent 5bf5316c
Showing with 6 additions and 3 deletions
...@@ -10,11 +10,13 @@ while True: ...@@ -10,11 +10,13 @@ while True:
print("登录成功!") print("登录成功!")
break break
if name != username: if name != username:
print("sb") print("用户名错误")
print(str(i)+"机会")
continue continue
if password != userpassword: if password != userpassword:
print(nb) print("密码错误")
print(str(i)+"机会")
else: else:
print("SB") 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