Oct-15-2017, 09:10 PM
Thanks for your reply.
I get that
So I still have the sense I'm missing something.
I get that
'a', 'b', 'c'
in is a tuple. But is name, species, weight
also a tuple in the following? name, species, weight = pets[0]In this case
name, species, weight
is the left hand side of an assignment. I wouldn't have thought it was a tuple but if it is, it isn't an "ordinary" tuple. You can't, of course, write (2, 3, 4) = something
So I still have the sense I'm missing something.