Commit a10f972e by BellCodeEditor

save project

parent 0aadf11b
Showing with 5 additions and 0 deletions
......@@ -8,12 +8,17 @@ while True:
c-=1
if name == username and password == userpassword:
print("登录成功!")
c-=1
break
if username!=name:
print("用户名错误!请重新输入")
c-=1
print("还剩"+se+"次机会")
continue
if userpassword!=password:
print("密码错误!请重新输入!")
c-=1
print("还剩"+se+"次机会")
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