Commit 366e57fb by BellCodeEditor

save project

parent 00da1c86
Showing with 23 additions and 14 deletions
N="a" N="a"
P = "q" P = "q"
while True: t=0
n=input("请输入用户名:") if t<=3:
if n!=N: while True:
print("用户不存在") n=input("请输入用户名:")
if n==N: if n!=N:
while True: print("用户不存在")
p=input("请输入密码:") t=t+1
if p!=P: if n==N:
print("密码错误") while True:
if n==N and p==P: p=input("请输入密码:")
print("登录成功!") if p!=P:
print("欢迎来到贝尔编程!") print("密码错误")
break t=t+1
break if n==N and p==P:
print("登录成功!")
print("欢迎来到贝尔编程!")
break
break
if t==3:
print("你账号被锁了,笨蛋")
exit()
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