Commit 366e57fb by BellCodeEditor

save project

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