inverse arr python code example Example: reverse array python >>> array=[0,10,20,40] >>> for i in reversed(array): ... print(i)