input: from typing import List
  
  def moving_average(data_points: List[float], window: int) -> List[float]:
      """ Compute the moving average of time-series data points.
      >>> moving_average([3, 5, 7, 2, 8, 10, 11, 65, 72, 81, 99, 100, 150], 3)
      [3.0, 4.0, 5.0, 4.67, 5.67, 6.67, 7.67, 28.67, 46.0, 72.67, 85.67, 98.0, 106.33]
      """
output:     result = []
      for i in range(len(data_points)):
          if i < window - 1:
              result.append(round(sum(data_points[:i+1]) / (i+1), 2))
          else:
              result.append(round(sum(data_points[i-window+1:i+1]) / window, 2))
      return result