Answers for "python pop a element by index"

0

python pop a element by index

a = ['a', 'b', 'c', 'd']
a.pop(1)

# now a is ['a', 'c', 'd']
Posted by: Guest on August-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language