Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to remove arrays in python from a specific place

array = [0, 1, 2, 3, 4]

array.pop(0) # Remove first array
array.pop(1) # Remove second array
array.pop(-1) # Remove last array
 
PREVIOUS NEXT
Tagged: #remove #arrays #python #specific #place
ADD COMMENT
Topic
Name
1+9 =