Anonymous user
Boston Python Workshop 6/Friday/Tutorial: Difference between revisions
Boston Python Workshop 6/Friday/Tutorial (view source)
Revision as of 02:37, 27 March 2012
, 12 years ago→Math
imported>Jesstess |
imported>Jesstess (→Math) |
||
Line 67:
The two previous expressions produce the same result. You only need to make one of the numbers in each fraction have a decimal. When the Python interpreter goes to do the division, it notices that one of the numbers in the fraction cares about decimals and says "that means I have to make the other number care about decimals too".
==Types==
|