Commit af5a1ec5 by BellCodeEditor

save project

parent 4ce966e1
Showing with 24 additions and 0 deletions
i = 3
username = "降维打击"
userpassword = "114514"
while True:
if i > 0:
name = input("请输入用户名:")
i -= 1
if name == username:
password = input("请输入密码:")
if name != username:
print("他妈你用户名输错了!")
print("输入错误,还剩" + str(i) + "次机会")
continue
if password == userpassword:
print("登陆成功!")
break
if password != userpassword:
print("他妈你密码输错了!")
print("输入错误,还剩" + str(i) + "次机会")
continue
else:
print("账号已被封锁,请来我司解锁。")
exit()
print("欢迎来到牛马SB2B游戏!")
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