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

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top