Additionally, for exact calculations you might want to use the decimal module. <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3.5&#x2F;library&#x2F;decimal.html#module-decimal" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3.5&#x2F;library&#x2F;decimal.html#module-deci...</a>