input: Write a python function to transform a list by subtracting 5 from elements greater than 10, and keeping elements less than or equal to 10 unchanged.
  assert transform_list([1, 2, 3, 15, 20, 7, 10]) == [1, 2, 3, 10, 15, 7, 10]
  assert transform_list([12, 5, 18, 7, 10, 11]) == [7, 5, 13, 7, 10, 6]
  assert transform_list([10, 25, 6, 9, 17]) == [10, 20, 6, 9, 12]
output: def transform_list(lst):
      return [x - 5 if x > 10 else x for x in lst]