python coding contest

André andre.roberge at gmail.com
Sun Jan 1 01:58:46 CET 2006


Hans Nowak wrote:
> André wrote:

>
> I don't know if this suggestion has been made already, but it seems to
> me that the end of the expression
>
>    ...  for u in(3,14,10))
>
> can be written as:
>
>    ...  for u in 3,14,10)
>
> which would shave off a character.  Tuples don't always need parentheses...
>
I tried ... but, in this case, it appears that they do, unfortunately
:-(

André




More information about the Python-list mailing list