python reverse list method code example Example: how to reverse array in python >>> L = [0,10,20,40] >>> L[::-1] [40, 20, 10, 0]