Posts

Showing posts from August, 2012

Empty list in Python

To empty list, list = range(10) del list[:] honestly I do not fully understand how it works, but it works.