Commit 3b7365b3 by BellCodeEditor

save project

parent aa6c421f
Showing with 13 additions and 7 deletions
i=1
username = "银行"
userpassword = "192171"
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
if name!=username or password != userpassword:
print("密码或账户错误")
if i>0 :
name = input("请输入用户名:")
password = input("请输入密码:")
i=i-1
if name == username and password == userpassword:
print("登录成功!")
break
if name!=username or password!=userpassword:
print("密码或账户错误")
else:
print("银行卡里的10000000000元已冻结,请来银行解冻")
exit()
print("银行系统已打开!")
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