Commit 0cd9ad59 by BellCodeEditor

save project

parent ada93e73
Showing with 4 additions and 6 deletions
......@@ -5,11 +5,9 @@ while True:
password = input("输入密码:")
if name == username and password == userpassword:
print("登陆成功")
break
print("账号或密码错误,请重试")
if name != username:
print("账号错误,请重试")
continue
if password != userpassword:
elif name != username:
print("账号错误,请重试")
else:
password != userpassword
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