Python 2x and 3x difference
Difference between Python 2.x and Python 3.x? 1. Python 2.x print is treated as a statement instead of a function .Python 2.x doesn’t have a problem with additional parenthesis, it can execute code with parenthesis. While in Python 3.x print is treated as a function. Whatever you want to print, pass it to print (). Example: print “Hello World” in Python 2.x print (“Hello World”) ...