Pregunta

In python docs

>>> tax = 12.5 / 100
>>> price = 100.50
>>> price * tax
12.5625
>>> price + _
113.0625
>>> round(_, 2)
113.06

I don't understand what does this mean

>>> price + _

and how does it work

¿Fue útil?

Solución

_ means the last result when you are working on python console

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top