Commit 81aa592d by BellCodeEditor

save project

parent 76217ff6
Showing with 17 additions and 11 deletions
usename = "python" i=3
i=3
usename = "python" usename = "python"
userpassword = "123456" userpassword = "123456"
while True: while True:
a=input("你的账号是啥子?") if i>0:
b=input("你的密码是啥子?") a=input("你的账号是啥子?")
if a==usename and b==userpassword: b=input("你的密码是啥子?")
print("正确") i-=1
break if a==usename and b==userpassword:
if a != usename: print("正确")
print("账号登录失败") break
continue if a != usename:
if b != userpassword: print("账号登录失败")
print("密码登录失败") continue
if b != userpassword:
print("密码登录失败")
else:
print("你的账号输入错误,你的钱没了")
exit()
print("欢迎进入") 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