how to clear the list in python

yourlist = [1,2,3,4,5,6,7,8]
del yourlist[:]

Here is what the above code is Doing:
1. Creating a list called yourlist with some values in it.
2. Deleting the values in yourlist.
3. Creating an empty list called yourlist.
4. Creating a list called yourlist with some values in it.
5. Deleting the values in yourlist.
6. Creating an empty list called yourlist.
7. Creating a list called yourlist with some values in it.
8. Deleting the values in yourlist.
9. Creating an empty list called yourlist.