python list delete range code example Example: delete all list entries in a range python L2 = [ x for x in L1 if -1 <= x <= 1 ]