3 ms·
Having print() as a function was something that helped convince me to teach Python 3, as opposed to 2.x. Don't get me wrong, in Ruby, I'm completely lax in usin
by danso 11y ago
Having print() as a function was something that helped convince me to teach Python 3, as opposed to 2.x. Don't get me wrong, in Ruby, I'm completely lax in using parentheses in function calls. But when explaining syntax to newbies, about how regular it is, and how it's easy to determine what's a function and what's not by use of parentheses...I want as few as exceptions as possible...and print() is something that beginners especially use a lot.