Check if a given value is out of certain range

Ian Kelly ian.g.kelly at
Tue Sep 29 23:07:42 CEST 2015

On Tue, Sep 29, 2015 at 3:04 PM, Random832 <random832 at> wrote:
> How about x not in range(11)?

That's fine as long as x is known to only take integral values.

More information about the Python-list mailing list