Commit e2794c34 by BellCodeEditor

save project

parent 441f35a6
Showing with 6 additions and 3 deletions
......@@ -8,11 +8,14 @@ while True:
i-=1
if name == username and password == userpassword:
print("登录成功!")
i=i-1
break
elif name!= usename:
print("用户名不存在")
i=i-1
continue
elif password!= userpassword:
print("用户名和密码错误!请重新输入")
else:
print("你滴账号已锁定")
\ No newline at end of file
i=i-1
if i=0:
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