user_name = input("请输入用户名") pwd = input("请输入密码") if user_name == 'chenxuan' and pwd == '123456': print("登录成功") else: print("xxxxx")