input: from typing import List
  
  def expand_list(list: List[int]) -> List[int]:
      """ Expand the list by doubling the list elements for each item in it.
      >>> expand_list([1, 2, 3])
      [2, 4, 6]
      >>> expand_list([5, 10])
      [10, 20]
      """
output:     return [2 * x for x in list]