Commit 19f9034c by BellCodeEditor

save project

parent 32dbf8a3
Showing with 5 additions and 3 deletions
...@@ -6,6 +6,8 @@ while True: ...@@ -6,6 +6,8 @@ while True:
if name == userpassword_1 and userpassword_1==userpassword: if name == userpassword_1 and userpassword_1==userpassword:
print("登录成功") print("登录成功")
break break
elif username_1 != username elif name != username:
print("有户名和密码错误!请重新输入"): print("用户名错误")
print("欢迎来到贝了编程器") else:
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