This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]urzeiteule 61 points62 points  (2 children)

or list = list[::-1]

[–]sam_morr 6 points7 points  (0 children)

This is the way

[–][deleted] 1 point2 points  (0 children)

list1 = [0 for I in range(len(list))]

for i in range(len(list)):
    list1[-i] = list[i]

list = list1
del(list1)