Commit 9239a6c5 by BellCodeEditor

save project

parent 1dfd70e0
Showing with 1 additions and 2 deletions
......@@ -8,14 +8,13 @@ while True:
i-=1
if name == username and password == userpassword:
print("登录成功!")
print("你还剩+str(i)+次机会")
break
if name!=username:
print("用户名错误,请重新输入!")
if password!=userpassword:
print("密码输入错误,请重新输入!")
continue
if password!=userpassword:
print("密码输入有误,请重新输入")
else:
print("你的账号已被锁定,请一小时后再来")
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