Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to revert a list python

>>> array=[0,10,20,40]
>>> for i in reversed(array):
...     print(i)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #revert #list #python
ADD COMMENT
Topic
Name
5+5 =