Commit 2ab41c12 by BellCodeEditor

save project

parent f5d4b23e
Showing with 4 additions and 5 deletions
...@@ -6,11 +6,10 @@ while True: ...@@ -6,11 +6,10 @@ while True:
    if name == usename and password == userpassword:     if name == usename and password == userpassword:
        input("登陆成功")         input("登陆成功")
        break         break
if name != username: elif name != username:
print("用户名错误,请重新输入") print("用户名错误!请重新输入")
if name != userpassword: elif name != userpassword:
print("密码错误") print("密码错误!")
    print ("用户名和密码错误?请重新输入")
print("欢迎来到贝尔编程") print("欢迎来到贝尔编程")
# 请用input()实现用户输入账号、密码的功能 # 请用input()实现用户输入账号、密码的功能
......
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