Commit 183de61d by BellCodeEditor

save project

parent c2ddf03f
Showing with 5 additions and 1 deletions
...@@ -8,7 +8,10 @@ while True: ...@@ -8,7 +8,10 @@ while True:
if name==username and userpassword==password: if name==username and userpassword==password:
print("登入成功") print("登入成功")
break break
print("密码错误,请重新输入密码") if name!=username:
print("用户名错误")
if password!=userpassword:
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