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