[Tutor] Problem with if statements and else statements

Alex Kleider akleider at sonic.net
Sun May 28 19:12:16 EDT 2017

On 2017-05-28 13:13, Mats Wichmann wrote:

> FWIW, if checking for multiples, you could also write:
> if Month in ['January', '1']:


>>> if Month in {'January', '1'}:

be even better?  (regarding efficiency perhaps? Trivial point, I know, 
but just wondering.)

More information about the Tutor mailing list