Python – “print” as a function

With a fundamental change of treating “print” as a function in Python 3.0 (and ability to do so in 2.6 onwards), what exactly gets changed? What additional stuff can a Python programmer achieve with this?

I had these questions in my mind. I tried to answer them for myself based on the Python 2.6 official documentation. I hope you find it useful too.

The same can be found at TechTabs: http://www.testingperspective.com/tpwiki/doku.php?id=rverma:techtabs

Leave a Reply

Copyright © Testing Perspective,