make array invert python code example Example: reverse an array pyton array=[0,10,20,40] reversed_array=array[::-1]