In article <bc70e108-f2ca-47b5-93d4-6911dfc3b...@q22g2000yqm.googlegroups.com>,
=?UTF-8?B?zp3Or866zr/Pgg==?=  <nikos.the.gr...@gmail.com> wrote:
>
>After all () used to define tuples and [] usedd to define lists. Why
>commas?

No, "()" does *not* define tuples, except for the empty tuple.  The comma
defines tuples, with parentheses simply used for visual effect:

>>> 1, 2, 3
(1, 2, 3)
-- 
Aahz (a...@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"...if I were on life-support, I'd rather have it run by a Gameboy than a
Windows box."  --Cliff Wells
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to