what's wrong with "lambda x : print x/60,x%60"
Paul Rubin
http
Tue Dec 6 04:04:09 EST 2005
bonono at gmail.com writes:
> I think there is, for python. Not that I agree with it. The language
> doesn't prevent you from using the short one-liner style but the idioms
> prefer the line by line(and one single op/action per line) style.
Are you serious?!! You're saying idiomatic Python prefers
temp1 = a + b
temp2 = c * d
temp3 = temp1 + temp2
x = temp3 + e
to
x = a + b + (c * d) + e
???!!!
I don't think you look at the same Python code I do ;-).
More information about the Python-list
mailing list