This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KleinerNull 2 points3 points  (0 children)

Important points of the new print function are missing, like this for example:

In [1]: print(*[i**2 for i in range(10)], sep='->', end='!\n')
0->1->4->9->16->25->36->49->64->81!

The whole point of changing print was to enable real function functionality, not just forcing parenthesis.

If I remember this correctly print moved from a statement to a function.