Commit 14f2f9b7 by BellCodeEditor

auto save

parent 4a7cb6b6
Showing with 25 additions and 0 deletions
username = "python"
userpassword = "123456"
cishu=0
usermima=88
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username :
if password == userpassword:
print("登录成功!")
break
print("密码错误!请重新输入,预计正在被攻破")
cishu +=1
if cishu==3:
for i in range(3):
print('本系统正在被攻破,防火墙正在防御,请稍后')
wait(3)
mima=input('输入停止攻击指令密码:')
if usermima==mima:
print('停止攻击')
continue
else:
print('用户名错误!请重新输入')
print("欢迎来到指挥部!")
\ 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