Published at LXer:
When working with lists in Python, you may sometimes need to reverse the elements of a list. Reversing a list means that the first element of the list becomes the last, the second become second-to-last, the last element becomes the first, and so on. To reverse a Python list in place use the reverse() method. If you only need to create a reversed iterator use the reversed() function.
Read More...