Python: The last value printed
In the python REPL, _
is assigned the last value printed:
>>> 10+37
47
>>> _*3
141
>>> _**2
19881
Via @nedbat.
In the python REPL, _
is assigned the last value printed:
>>> 10+37
47
>>> _*3
141
>>> _**2
19881
Via @nedbat.
Leave a comment