indentation messing up my tuple?

infidel saint.infidel at
Tue Jan 31 12:05:55 EST 2006

tuple is the name of the built-in type, so it's not a very good idea to
reassign it to something else.

(food + drink + '\n') is not a tuple, (food + drink + '\n',) is

There's no reason to use tuples here, just do this:

data.append(food + drink)

More information about the Python-list mailing list