Tip: Shortcut in the interpreter with values

the underscore stands for the last value of the output

I did not used this and I don’t know why, since it is very useful when you use the interpreter to make some coding on the go, not having to type exactly the last result. I use it also to do calculations, so it’s very useful in this case.


Subscribe to the newsletter for updates
Tkinter templates
Avatar My youtube channel

Twitter: @pythonprogrammi - python_pygame

Videos

Speech recognition game

Pygame's Platform Game

Other Pygame's posts

Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.