python pop a element by index

Solutions on MaxInterview for python pop a element by index by the best coders in the world

showing results for - "python pop a element by index"
Greta
11 Jun 2016
1a = ['a', 'b', 'c', 'd']
2a.pop(1)
3
4# now a is ['a', 'c', 'd']
5