Commit 6a6f5a0e by BellCodeEditor

auto save

parent 45c1a9ef
Showing with 6 additions and 7 deletions
......@@ -6,9 +6,8 @@ while True:
if a==username and b==userpassword:
print("输入正确,登录成功")
break
elif a==username and b!=userpassword:
print("名称正确,密码错误,请重新输入")
elif a!=username and b==userpassword:
print("密码正确,名称错误,请重新输入")
else:
print("输入错误,请重新输入")
\ No newline at end of file
if a!=username :
print("名称错误,请重新输入")
continue
if b!=userpassword :
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