Commit 29b4dbd1 by BellCodeEditor

auto save

parent 370443ec
Showing with 6 additions and 5 deletions
......@@ -8,8 +8,9 @@ while True:
if name == username and password == userpassword:
print("登入成功!")
break
if name == username:
if name != username:
print("账号错误!")
if password == userpassword:
print("密码错误!")
print("登入失败!")
\ No newline at end of file
else:
if not password == userpassword:
print("密码错误!")
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