Commit d0ece00e by BellCodeEditor

save project

parent 4f0f2257
Showing with 5 additions and 3 deletions
...@@ -6,5 +6,7 @@ while True: ...@@ -6,5 +6,7 @@ while True:
if username==name and userpassword==word: if username==name and userpassword==word:
print("登陆成功") print("登陆成功")
break break
print("失败") if name!=username:
print("成功") print("用户名不存在")
\ No newline at end of file if word!=userpassword:
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