DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
reorder list python
a_list = ["a", "b", "c"] order = [1, 0, 2] a_list = [a_list[i] for i in order]
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#reorder
#list
#python
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit