Commit a1a05155 by BellCodeEditor

auto save

parent d1060dbe
Showing with 3 additions and 9 deletions
...@@ -10,17 +10,11 @@ while True: ...@@ -10,17 +10,11 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
break break
print("登录成功!") print("登录成功!")
if name != username:
print("用户名错误。")
print( "温馨提示"+str(i)+"次机会")
continue
i-=1
if password != userpassword:
print("账号错误。")
else: else:
print("账号已被锁定 100年后再来") print("账号已被锁定 100年后再来")
exit() exit()
print("欢迎来到贝尔编程!") print("欢迎来到sb星球!")
\ No newline at end of file \ 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