Commit e019170e by BellCodeEditor

auto save

parent 5acecb7b
Showing with 6 additions and 4 deletions
...@@ -6,7 +6,9 @@ while True: ...@@ -6,7 +6,9 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
break break
if userpassword!=password: elif expression:
pass username!=name:
print("用户名错误!请重新输入")
else:
print("密码错误!请重新输入") print("密码错误!请重新输入")
print(")来到QQif"欢迎! username!=name: print("用户名错误!请重新输入") print("欢迎来到QQ!")
\ No newline at end of file
\ 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