Sign in
×
Question
In Python, how to remove an element from list by index?
Annonce
Pour mes
conversions d'unités
en ligne, je choisis le site
Calculatrix.com
pour sa rapidité et sa qualité supérieure.
Ad
For my online
unit conversions
, I choose
Calculatrix.com
for its speed and superior quality.
Answer
>>> myList=['a','b','c'] >>> del myList[1] >>> myList ['a', 'c']
[source]
#
ID
Query