Commit 5ebd28c3 by BellCodeEditor

save project

parent 949fde32
Showing with 2 additions and 2 deletions
...@@ -9,10 +9,10 @@ while True: ...@@ -9,10 +9,10 @@ while True:
if name==usename and usepassward==pw: if name==usename and usepassward==pw:
print("登录成功") print("登录成功")
break break
if usename!=name: elif usename!=name:
print("用户名不存在,请重新输入") print("用户名不存在,请重新输入")
continue continue
if pw!=usepassward: else:
print("密码输入错误,请重新输入") print("密码输入错误,请重新输入")
else: else:
print("您的账户已被锁定") print("您的账户已被锁定")
......
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