how to remove 50000 elements from a 100000 list?

Ju Hui phpbird at gmail.com
Fri May 5 11:56:07 EDT 2006


cool!
thanks you all!
I choose
a=set(range(100000))
b=set(range(50000))
a.symmetric_difference(b)
certainly,the real data not range(), I am satisfied the performance of
set.difference

thank you all again!




More information about the Python-list mailing list