input: Write a python function to edit an array by adding 10 to each element.
  assert edit_array([1, 2, 3, 4, 5]) == [11, 12, 13, 14, 15]
  assert edit_array([0, -10, 20, 30]) == [10, 0, 30, 40]
  assert edit_array([100, 200, 300]) == [110, 210, 310]
output: def edit_array(arr):
      return [x + 10 for x in arr]