input: Write a function to generate a single Python line to create a list that contains elements from another list. The function should take the given list as input and return a new list with the same elements.
  assert generate_new_list([1, 2, 3, 4, 5])==[element for element in [1, 2, 3, 4, 5]]
  assert generate_new_list([8, 9, 7, 6, 5])==[element for element in [8, 9, 7, 6, 5]]
  assert generate_new_list(["a", "b", "c"])==[element for element in ["a", "b", "c"]]
  assert generate_new_list([])==[element for element in []]
  assert generate_new_list([True, False, True])==[element for element in [True, False, True]]
output: def generate_new_list(lst):
      return [element for element in lst]