DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to take index first and last in python in one way
[some_list[0], some_list[-1]]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#index
#python
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit