Commit 7fb8781a by BellCodeEditor

auto save

parent 57ed0180
Showing with 4 additions and 1 deletions
...@@ -8,5 +8,8 @@ while True: ...@@ -8,5 +8,8 @@ while True:
if name==username and password==userpassword: if name==username and password==userpassword:
print("登录成功") print("登录成功")
break break
print("请重新输入") elif name!=username:
print("用户名错误")
else:
print("密码错误")
print("欢迎来到Python编程世界") print("欢迎来到Python编程世界")
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