Answers for "print last result python"

1

python previous answer

# an underscore gives the last result in the python shell
>>> 5+5
10
>>> _
10
>>> _ + 5
15
>>> _
15
Posted by: Guest on October-15-2020

Python Answers by Framework

Browse Popular Code Answers by Language