input: 
  def generate_new_list(given_list: list) -> list:
      """Generate a new list that contains elements from another list.
      >>> generate_new_list([1, 2, 3, 4, 5])
      [1, 2, 3, 4, 5]
      """
      return [element for element in given_list]
  
output:     
      new_list = []
      for element in given_list:
          new_list.append(element)
      return new_list
  