0

In round function what is the use of _100, _104, etc. I know that round(10.121, 1) will round the value up to 1 decimal place. But the purpose of _104 is not getting.

I've attached two screenshots for reference.

enter image description here

enter image description here

Piyush Kumar
  • 120
  • 8

1 Answers1

1

In IPython, _109 means the output of the 109th cell execution. This implies that while you were running your IPython notebook (through VS Code), at cell execution 109, you received an output of 103. The reason why Bram above can't run print(_109) on his end is that he was either running it in a Python file/interpreter, or executing it in a fresh notebook where he hasn't run 109 cells yet, and thus the variable _109 did not exist.

Check this answer for more information: https://stackoverflow.com/a/27952661/2327379

kwkt
  • 1,058
  • 3
  • 10
  • 19