Code style query: multiple assignments in if/elif tree

Chris Angelico rosuav at
Mon Mar 31 18:29:54 CEST 2014

On Tue, Apr 1, 2014 at 3:20 AM, Rustom Mody <rustompmody at> wrote:
> On the whole I prefer multiple assignments.
> Maybe in this case use small variable names with
> separate(d) explanatory comments??

Shorter variable names would certainly be the more normal, heh. I let
my brother do that part of the typing, picking names and so on. Better
for teaching to let the victi-- err, the student have the power to
choose. :)


More information about the Python-list mailing list