clear list()

Clears list a.

The result of the function is the number of elements that have been deleted from the list.

Parameters


Parameter

Description

a

(optional) Name of the list to be cleared. Default: "default".


Examples


Assume there are two lists "default" with 10 elements and "mylist" with 15 elements.


Parameter a

Result

myotherlist

0


10


0

mylist

15

mylist

0