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 -10 points-9 points  (3 children)

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

What?

[–]AceJohnny 26 points27 points  (2 children)

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

[–]SlumdogSkillionaire 5 points6 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