DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
invert list python
# Making a new list myList = [1,2,3,4] # Inverting the list myList = myList[::-1]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#invert
#list
#python
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit