I want an iterable from 0 to N except for element m (<=M). I could write x = range(N) x.remove(m) but I want it in one expression. Thanks, Ross