Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

reverse a list in python

a = ['a', 'b', '4', '5', 'd'] #reverse the List
print(list(reversed(a)))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reverse #list #python
ADD COMMENT
Topic
Name
5+8 =