def part_one(args, input_lines):
    'Process part one of the puzzle'
    solver = lights.Lights(part2=False, text=input_lines)
    solution = solver.part_one(verbose=args.verbose, limit=args.limit)
    if (solution is None):
        print('There is no solution')
    else:
        print(('The solution for part one is %s' % solution))
    return (solution is not None)
Process part one of the puzzle
def part_one(args, input_lines):
    
    solver = lights.Lights(part2=False, text=input_lines)
    solution = solver.part_one(verbose=args.verbose, limit=args.limit)
    if (solution is None):
        print('There is no solution')
    else:
        print(('The solution for part one is %s' % solution))
    return (solution is not None)