Clearing the elements of a list

All the elements of a list could be deleted using the clear() method:

    >>> sequence.clear()
>>> sequence
[]