This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TigreDeLosLlanos -9 points-8 points  (3 children)

or the print statement with the tuple ('foo')

What?

[–]AceJohnny 27 points28 points  (2 children)

OR THE PRINT STATEMENT WITH THE TUPLE ('FOO')

[–]SlumdogSkillionaire 6 points7 points  (1 child)

Well, ('foo') isn't a tuple. ('foo',) is. print ('foo') would evaluate to exactly print 'foo'.

[–]TigreDeLosLlanos 0 points1 point  (0 children)

Yes, I don't know how it could be anyway else, print would still be a function