Hmm... An idea: if a,b==c,d:
Greg Ewing
see_reply_address at something.invalid
Mon Nov 25 23:36:15 EST 2002
Richard Dillingham wrote:
> It doesn't have ()s, so it ain't two tuples. Easy enough, da?
Sorry, it's not that easy. Commas make tuples in Python,
not parentheses. Try this if you don't believe me:
a = 1, 2
print a
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list