Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to reverse array in python

>>> L = [0,10,20,40]
>>> L[::-1]
[40, 20, 10, 0]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reverse #array #python
ADD COMMENT
Topic
Name
8+4 =