Commit 8b07b9e1 by BellCodeEditor

save project

parent 2222f558
Showing with 5 additions and 0 deletions
...@@ -7,4 +7,8 @@ while True: ...@@ -7,4 +7,8 @@ while True:
print("登录成功") print("登录成功")
else: else:
print("登录失败") print("登录失败")
if username != name:
print("用户名输入错误")
if userpassword != word:
print("密码输入错误")
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