input: from typing import List
  
  
  def runningTotal(arr: List[float]) -> List[float]:
      """ Given a list of numbers, return an array with the running total of numbers.
      >>> runningTotal([1.0, 2.0, 3.0, 4.0])
      [1.0, 3.0, 6.0, 10.0]
      >>> runningTotal([0.0, -1.0, 1.0, -1.0, 0.0])
      [0.0, -1.0, 0.0, -1.0, -1.0]
      """
output:     total = 0
      result = []
      for num in arr:
          total += num
          result.append(total)
      return result