How do I truncate a list? April 15, 2023 by Tarik To modify the list in place (rather than make a shorter copy of the list), use: del l[100:]