print last result python code example
Example: python previous answer
# an underscore gives the last result in the python shell
>>> 5+5
10
>>> _
10
>>> _ + 5
15
>>> _
15
# an underscore gives the last result in the python shell
>>> 5+5
10
>>> _
10
>>> _ + 5
15
>>> _
15