Commit 543c0989 by BellCodeEditor

save project

parent 6408aff6
Showing with 14 additions and 9 deletions
while True
i=3
while True:
username = "111"
userpassword = "123456"
user = input("请输入帐号:")
i=i-1
if i>0:
password = input("请输入密码:")
if username == user and password == userpassword
print("登录成功!欢迎来到贝尔编程")
if username!=user:
print("用户名或密码错误!请重新输入")
continue
if username!=password:
if i>0:
password = input("请输入密码:")
if username == user and password == userpassword:
print("登录成功!欢迎来到贝尔编程")
if username!=user:
print("用户名或密码错误!请重新输入")
continue
if username!=password:
print("密码错误")
else:
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