Commit 5aa227c4 by BellCodeEditor

save project

parent c14424a2
Showing with 7 additions and 4 deletions
...@@ -5,7 +5,10 @@ while True: ...@@ -5,7 +5,10 @@ while True:
password=input("请输入你弟秘码:") password=input("请输入你弟秘码:")
if username==name and userpassword==password: if username==name and userpassword==password:
print("登录成功!") print("登录成功")
break break
print("名字秘码错啦") if name!=username:
print("欢迎来到贝尔编程!") print("名字错啦")
\ No newline at end of file if password!=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