Using print() (the function version) in Python2.x
Consider the following expressions: They’re equivalent. In the same way, with a statement: are also equivalent. Notice that if you change your print function to: You’ll notice a difference between python 2 and python 3. With python 2, the (…,…) is interpteted as a tuple since print is a statement whereas in python 3, it’s a function … Read more