Clear all elements from list in Python

In python, clear function of list can be used to remove all elements from the list.

Example : clear function usage with list
cars = ["Mercedes Benz","Honda","Audi", "Volkswagen"]
cars.clear()
cars


Output
[]