Commit ffeccefb by BellCodeEditor

save project

parent 11291fe2
Showing with 3 additions and 5 deletions
...@@ -10,13 +10,10 @@ while True: ...@@ -10,13 +10,10 @@ while True:
if usernanme==name and userpassword==password: if usernanme==name and userpassword==password:
print("登录成功") print("登录成功")
break break
elif name != usernanme: if name != usernanme:
print("重新登录用户名") print("重新登录用户名")
continue continue
else: print("欢迎来到SB")
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