[Tutor] Error Checking/Defensive Programming

Peter Otten __peter__ at web.de
Thu Jan 26 09:03:11 CET 2012


Modulok wrote:

> if number <= 10 and number >= 1:

I like that you can spell that

if 1 <= number <= 10:

in Python. 




More information about the Tutor mailing list