find the maximum element in python along with index code example Example: max of list with index a.index(max(a))