input: Write a function that generates a single Python line to create a list containing elements from another given list.
  assert generate_new_list([1, 2, 3, 4, 5])==[1, 2, 3, 4, 5]
  assert generate_new_list([7, 8, 9])==[7, 8, 9]
  assert generate_new_list([])==[]
output: def generate_new_list(lst):
      return lst[:]