A critic of Guido's blog on Python's lambda
Ken Tilton
kentilton at gmail.com
Sun May 7 11:37:13 EDT 2006
Ken Tilton wrote:
>
>>
>> a = negate(sin(pi/2)+one) = -2.0
>> b = negate(a)*10 = 20.0
>
>
> Very roughly speaking, that is supposed to be the code, not the output.
> So you would start with (just guessing at the Python, it has been years
> since I did half a port to Python):
>
> v1 = one
Sorry, only later did I realize "one" was going in as a named
spreadsheet Cell. I thought maybe Python was a bit of a super-cobol and
had one as a keyword. <g>
kenny
More information about the Python-list
mailing list