Commit 3555348a by BellCodeEditor

save project

parent fd235056
Showing with 3 additions and 0 deletions
......@@ -5,14 +5,17 @@ while True:
if i > 0:
name = input("请输入用户名:")
password = input("请输入密码:")
i-=1
if name == username and password == userpassword:
print("登录成功!")
break
if name != username:
print("用户名错误,再错就别进来了")
print("距离你的账号注销还有"+str(i)+"次")
continue
if password != userpassword:
print("密码错误,再错就别进来了")
print("距离你的账号注销还有"+str(i)+"次")
else:
print("账号冻结36500000天,如果你还想要这个账号,拿你的身份证到离你最近的派出所吧")
exit()
......
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