Commit f0e4120f by BellCodeEditor

save project

parent 1bf4da97
Showing with 29 additions and 10 deletions
username = "python" a ='python'
userpassword = "123456" b ='12345'
while True: e =0
name = input("请输入用户名:") while e < 3:
password = input("请输入密码:") c = input("请输入用户名:")
if name == username and password == userpassword: d = input("请输入密码:")
print("登录成功!") if a == c and b == d:
print("用户名和密码错误!请重新输入") print("登录成功")
print("欢迎来到贝尔编程!") e +=3
\ No newline at end of file elif a != c and b == d:
print("用户名错误")
e +=1
elif a == c and b != d:
print("密码错误")
e +=1
else:
print("该账号不存在")
e +=1
print("账号封锁中")
print("账号已封锁")
#print("自爆准备")
#print("程序删除中")
#print("删除完毕")
#print(3)
#print(2)
#print(1)
#print(0)
#print("Boom!!!")
\ 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