How print in python 3 different from the one in python 2?

0 votes
49 views
asked Aug 6, 2016 by Hitesh Garg (124 points)  

All I know about this is that python 3 has turned print() into a function whereas in python 2 it was an expression.

But I have used parenthesis with print in python 2 as well, like print("Hello everyone"), So how is this possible and how it is evaluated i.e. like an expression or a statement?

Please log in or register to answer this question.

Welcome to Codingeek Q&A, where you can ask questions and receive answers from other members of the community.
...