Commit 8e0071c8 by BellCodeEditor

auto save

parent 8d1f76f0
Showing with 6 additions and 2 deletions
...@@ -9,6 +9,9 @@ while True: ...@@ -9,6 +9,9 @@ while True:
if uname == username and upass == userpassword: if uname == username and upass == userpassword:
print("登入成功!") print("登入成功!")
break break
else: if uname != username:
print("你的账号或密码错误!") print("账号错误!")
continue
if upass != userpassword:
print("密码错误!")
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