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 the numbers.
      >>> runningTotal([1, 2, 3, 4])
      [1, 3, 6, 10]
      >>> runningTotal([10, 20, 30])
      [10, 30, 60]
      >>> runningTotal([0, 0, 0, 0])
      [0, 0, 0, 0]
      """
output:     total = 0
      result = []
      for num in arr:
          total += num
          result.append(total)
      return result