Commit 52b1ed14 by BellCodeEditor

save project

parent cbb5ce07
Showing with 7 additions and 2 deletions
......@@ -9,9 +9,13 @@ while True:
if name==username and password==userpassword:
print("用户密码正确,登陆成功!")
break
if password!=userpassword :
print("您好,您的账号已被锁定,特警马上赶到抓捕你!!")
print("您好,您还有"+str(i)+"次机会")
elif name!=username :
print("您好,您的账号已被锁定,特警马上赶到抓捕你!!")
else :
print("您好,您的密码已被举报,请自首")
print("您好,您还有"+str(i)+"次机会")
else :
print("您好,您的密码已被举报,请自首")
exit()
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