Commit 0abd3eb5 by BellCodeEditor

save project

parent 947f0f81
Showing with 17 additions and 13 deletions
username = "超级无敌宇宙霹雳雷霆至尊牛逼天神下凡噼里啪啦暴龙战士牛魔王先生" username = "超级无敌宇宙霹雳雷霆至尊牛逼天神下凡噼里啪啦暴龙战士牛魔王先生"
userpassword = "114514" userpassword = "114514"
while True: i = 4
name = input("请输入用户名:") while True:
password = input("请输入密码:") if i>0:
if name == username and password == userpassword: name = input("请输入用户名:")
print("登录成功!") password = input("请输入密码:")
break i=i-1
if name == username and password == userpassword:
if name != username: print("登录成功!")
print("输错了,给爷重输!") break
continue if name != username:
if password != userpassword: print("输错了,重输!")
print("输错了,给爷重输!") continue
print("用户名和密码错误!请重新输入") if password != 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