strange use of python 'and' operator – stackoverflow.com

I'm trying to learn python and came across some code that is nice and short but doesn't totally make sense the context was: def fn(*args): return len(args) and max(args)-min(args) I get what ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "strange use of python 'and' operator – stackoverflow.com"