how to remove an element from a nested list?
Posted
by kaki
on Stack Overflow
See other posts from Stack Overflow
or by kaki
Published on 2010-06-16T16:38:38Z
Indexed on
2010/06/16
16:42 UTC
Read the original article
Hit count: 205
python
if i have an nested list such as:
m=[[34,345,232],[23,343,342]]
if i write m.remove(345)
it gives an error message saying element not in the list.
i want to know how to remove an element from the nested list,easily??
© Stack Overflow or respective owner