How to Remove the Last X Elements from a List in Python

How to Remove the Last X Elements from a List in Python