remove a sublist from a list in python
Posted
by ariel
on Stack Overflow
See other posts from Stack Overflow
or by ariel
Published on 2010-03-25T11:20:00Z
Indexed on
2010/03/25
11:23 UTC
Read the original article
Hit count: 428
Hi
I am looking for a way to remove a sublist from a list.
something like this:
a=range(1,10)
a.remove([2,3,7])
print a
a=[1,4,5,6,8,9]
© Stack Overflow or respective owner