DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
slicing in python list
a = [1,2,3,4,5] a[m:n] # elements grrater than equal to m and less than n a[1:3] = [2,3]
Source by nostarch.com #
PREVIOUS
NEXT
Tagged:
#slicing
#python
#list
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit