On 30/01/23 10:41 pm, mutt...@dastardlyhq.com wrote:
What was the point of the upheaval of converting the print command in python 2 into a function in python 3 if as a function print() doesn't return anything useful?
It was made a function because there's no good reason for it to have special syntax in the language. Functions don't need to return things to justify their existence, and in fact the usual convention is that functions whose purpose is to have an effect just return None. -- Greg -- https://mail.python.org/mailman/listinfo/python-list