The reverse method reverses the elements in the list : Reverse « List « Python Tutorial






x = [1, 2, 3]
x.reverse()
print x
7.22.Reverse
7.22.1.The reverse method reverses the elements in the list
7.22.2.Reverse list