Commit e2794c34 by BellCodeEditor

save project

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