سؤال

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