How to Remove the Last N Elements of a List in Python

How to Remove the Last N Elements of a List in Python