Commit 8cb83d9b by BellCodeEditor

save project

parent bbbb5c05
Showing with 6 additions and 3 deletions
...@@ -6,5 +6,8 @@ while True: ...@@ -6,5 +6,8 @@ while True:
if a==usename and b==userpassword: if a==usename and b==userpassword:
print("登录成功!") print("登录成功!")
break break
print("请重新输入!") if a != usename:
print("欢迎来到贝尔星球") print("用户名错误")
\ No newline at end of file if b != userpassword:
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