input: from typing import List
  
  def expand_list(lst: List[any]) -> List[any]:
      """ Analyze the given function and modify it to avoid potential errors.
      >>> expand_list([1, 2, 3])
      [1, 2, 3, 1, 2, 3]
      >>> expand_list(['a', 'b'])
      ['a', 'b', 'a', 'b']
      """
output:     return lst + lst