input: from typing import List
  
  def runningTotal(arr: List[int]) -> List[int]:
      """ Return an array with the running total of numbers in the given list.
      
      Example:
      >>> runningTotal([1, 2, 3, 4])
      [1, 3, 6, 10]
      >>> runningTotal([5, 10, 15, 20])
      [5, 15, 30, 50]
      """
output:     total = 0
      result = []
      for num in arr:
          total += num
          result.append(total)
      return result