 Concevoir un algorithme pour inverser les éléments d'un tableau donné.
 [2, 4, 6, 8]
 def reverse_array (array): \n start = 0 \n end = len(array)-1\n while start<end: \n temp = array[start] \n array[start] = array[end] \n array [end] = temp\n start += 1\n end = end-1\n return array