DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python slicing a list
finishers = ['sam', 'bob', 'ada', 'bea'] first_two = finishers[:2]
Source by nostarch.com #
PREVIOUS
NEXT
Tagged:
#python
#slicing
#list
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit