Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list slicing in python

ing in python listPython By Cruel Capuchin on Jun 29 2020
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 www.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #list #slicing #python
ADD COMMENT
Topic
Name
1+8 =