python coding contest

André andre.roberge at gmail.com
Sat Dec 31 19:58:46 EST 2005


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