Commit 26f66761 by BellCodeEditor

save project

parent b0f257ef
Showing with 7 additions and 2 deletions
......@@ -9,14 +9,19 @@ while True:
if username != name:
print("用户名错误!请重新输入")
frequency -= 1
print("您还有" + str(frequency) + "次机会")
else:
password = input("请输入密码:")
if password != userpassword:
print("密码错误!请重新输入")
frequency -= 1
print("您还有" + str(frequency) + "次机会")
while password != userpassword:
password = input("请输入密码:")
else:
break
print("密码错误!请重新输入")
frequency -= 1
print("您还有" + str(frequency) + "次机会")
break
else:
print("哔哔哔,请等待" + str(Time) + "秒再逝")
Time -= 1
......
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