Commit 99881869 by BellCodeEditor

auto save

parent 3fd387cf
Showing with 2 additions and 2 deletions
...@@ -6,10 +6,10 @@ while True: ...@@ -6,10 +6,10 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
break break
if name!=username: if name!=username
print('账号输入错误') print('账号输入错误')
continue continue
if name!=userpassword: :
print('密码输入错误') print('密码输入错误')
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