[Tutor] The magic parentheses

Lie Ryan lie.1296 at gmail.com
Mon Jan 25 00:21:57 CET 2010

On 01/24/10 19:17, David Hutto wrote:
> Thanks
> for the solutions and the quick responses. I just removed the variable
> and used print, I thought they would be considered the same whether as 
> a variable, or as a direct line, guess not.

what is equivalent:
print (a, b, c)

x = a, b, c
print x

both construct a tuple and prints a,b,c as tuple

More information about the Tutor mailing list