Commit 2ab41c12 by BellCodeEditor

save project

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