how to remove arrays in python from a specific place

Solutions on MaxInterview for how to remove arrays in python from a specific place by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
showing results for - "how to remove arrays in python from a specific place"
Lea
19 May 2017
1array = [0, 1, 2, 3, 4]
2
3array.pop(0) # Remove first array
4array.pop(1) # Remove second array
5array.pop(-1) # Remove last array