Commit 06c3af39 by BellCodeEditor

save project

parent e2d1857c
Showing with 3 additions and 1 deletions
...@@ -5,6 +5,8 @@ name=input("请输入用户名:") ...@@ -5,6 +5,8 @@ name=input("请输入用户名:")
password=input("请输入密码:") password=input("请输入密码:")
if name=usename and password=="userpassword" if name=usename and password=="userpassword"
print("登录成功") print("登录成功")
else: if name!=usename:
print("登录失败,请重新输入")
if name!=password:
print("登录失败,请重新输入") print("登录失败,请重新输入")
print("欢迎来到贝尔编程") print("欢迎来到贝尔编程")
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