DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+4 =
Submit