Pergunta

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

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top