input: from typing import List
  
  def sum_elements_recursive(numbers: List[int]) -> int:
      """ Calculate the sum of elements in a list using recursion.
      >>> sum_elements_recursive([1, 2, 3, 4, 5])
      15
      >>> sum_elements_recursive([])
      0
      >>> sum_elements_recursive([-1, 2, -3, 4, -5])
      -3
      """
      
      if not numbers:
          return 0
      else:
          return numbers[0] + sum_elements_recursive(numbers[1:])
output:     if not numbers:
          return 0
      else:
          return numbers[0] + sum_elements_recursive(numbers[1:])