by krzyk · 5y ago · 0 comments
Python REPL was my go to shell calculator and it is quite elaborate to put the parentheses around what I would like to print, for me that was the main drawback of python3.
But I don't write production code in python, it is used only for small shell scripts, or like calculator.
Printing to anything but stdout, printing with a separator, using the end keyword, etc, all became easier.
This way you don't even have to type "print" ;)
I tried bc once and it was too big learning curve for just simple calc that indo in python.