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

0 votes
asked Aug 6, 2016 by Hitesh Garg (799 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.