Python Shell as an Calculator: Grab the Last Output Using “_”

If you are like me who frequently use Python shell as a calculator, you can grab the last output by using _. This trick works in Jupyter Notebook as well.

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran