Check if a given value is out of certain range
Emile van Sebille
emile at fenx.com
Tue Sep 29 17:07:23 EDT 2015
More information about the Python-list mailing list
Tue Sep 29 17:07:23 EDT 2015
- Previous message (by thread): Check if a given value is out of certain range
- Next message (by thread): Check if a given value is out of certain range
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/29/2015 2:04 PM, Random832 wrote: > On Tue, Sep 29, 2015, at 16:32, Mark Lawrence wrote: >>> >>> not (0 <= x <= 10) >>> >> >> Yuck. > > How about x not in range(11)? x = 5.5 Emile
- Previous message (by thread): Check if a given value is out of certain range
- Next message (by thread): Check if a given value is out of certain range
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list