Commit 1b21849a by BellCodeEditor

save project

parent ef2ce210
Showing with 8 additions and 4 deletions
......@@ -4,9 +4,13 @@ while True :
klay=input("输入账号:")
green=input("输入密码:")
if klay==username and green==userpassword:
print("登录成功")
print("登录成功!")
break
print("请重新输入")
if klay!=username :
print("账号输入错误,警察将在5分钟后逮捕你!")
if green!=userpassword :
print("密码错误,警察将在5分钟后逮捕你!")
# 如果用户输入的账号、密码正确,提示登陆成功
\ No newline at end of file
# 如果用户输入的账号、密码正确,提示登陆成
\ 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