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