using remove on nested lists

Posted by kaushik on Stack Overflow See other posts from Stack Overflow or by kaushik
Published on 2010-06-11T08:06:27Z Indexed on 2010/06/11 8:13 UTC
Read the original article Hit count: 234

Filed under:
n=[['dgd','sd','gsg'],['fsdsdf','sds','sdf']]
>>> n.remove('sd')

if i have a nested list like above and want to remove 'sd'.how can i doing the above thing is giving an error??

© Stack Overflow or respective owner

Related posts about python