4 ms·
The parentheses make sense because print is a function that has parameters, and more than just the string to be printed. https://docs.python.org/3/library/func
by Sohcahtoa82 2y ago
The parentheses make sense because print is a function that has parameters, and more than just the string to be printed.
https://docs.python.org/3/library/functions.html#print https://docs.python.org/3/library/functions.html#print
I suppose they could have given the option to continue using print as a statement if you don't care to override the default parameters, but having those parameters really simplified some options.