what's wrong with "lambda x : print x/60,x%60"

tutufan at gmail.com tutufan at gmail.com
Fri Dec 9 11:41:29 EST 2005


Re using the same variable name over and over for different objects in
the same scope:

Argh--don't do this.  It makes a mess for the guy (or gal) that comes
after you and has to understand the code.  Our forefathers fought and
died so that we could have as many unique variable names as we like.
So use them!




More information about the Python-list mailing list