Tuple question

Bryan Olson fakeaddress at nowhere.org
Sun Sep 5 21:53:00 CEST 2004


Peter Hansen wrote:
 > Consider, for example, that one actually has to build the
 > tuple in the first place... how can you do that without
 > having the info in a list to begin with?  (I'm sure there
 > are ways if one is ingenious, but I think the answers
 > would just go to prove the point I was making.)

x = (1, 2)
y = (3, 4)
print x + y


-- 
--Bryan



More information about the Python-list mailing list