On 21 April 2010 20:56, candide <cand...@free.invalid> wrote: > Is the del instruction able to remove _at the same_ time more than one > element from a list ?
Yup: >>> z=[45,12,96,33,66,'ccccc',20,99] >>> del z[:] >>> z [] -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python-list