Test # 1 [Tue Sep 12 07:19:59 ~] $ python Python 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> 5.95 + 3 + 0.95 + 2.50/2 11.149999999999999 >>> >>> >>> 5.95 + 3 + 0.95 + 1.25 11.149999999999999 >>> >>> >>> 5.95 + 3 8.95 >>> 8.95 + 0.95 9.899999999999999 >>> 5.95 + 3.0 + 0.95 + 1.25 11.149999999999999 >>> >>> >>> >>> 2.50/2 1.25 >>> 3 + 0.95 3.95 >>> 3.95 + 5.95 9.9 >>> 9.9 + 1.25 11.15 Test # 2 acollins@9BYD3G2:~$ python Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> 5.95 + 3 + 0.95 + 2.50/2 11.149999999999999 >>> 3 + 0.95 3.95 >>> 3 + 0.95 + 2.50/2 5.2 >>> 5.95 + 0.95 + 2.50/2 8.15 >>> 5.95 + 3.0 + 0.95 + 2.50/2 11.149999999999999 >>> 5.95 + 3.0 + 0.95 + 2.50 12.399999999999999 >>> 5.95 + 3.0 + 0.95 9.899999999999999 >>> 5.95 + 3.0 8.95 >>> 5.95 + 0.95 6.9 >>> 5.95 + (3.0 + 0.95) 9.9 >>> 5.95 + (3.0 + 0.95) + 2.50 12.4 >>> 5.95 + (3.0 + 0.95) + 2.50/2 11.15 >>> (5.95 + 3.0) + 0.95 + 2.50/2 11.149999999999999 >>> 8.95 + 0.95 + 2.50/2 11.149999999999999 >>> 8.95 + 0.95 9.899999999999999 >>> 0.95 + 0.95 1.9 >>> 1.95 + 0.95 2.9 >>> 8.95 + 0.95 9.899999999999999 >>> 8.95 + 1.95 10.899999999999999 >>> 0.95 + 8.95 9.899999999999999 >>> 0.95 + 7.95 8.9 >>> 0.95 + 9.95 10.899999999999999 >>> 0.95 + 8.95 9.899999999999999 >>> 0.95 + 10.95 11.899999999999999 >>> 0.95 + 7.95 8.9 Test # 3 acollins@9BYD3G2:~$ python3 Python 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 5.95 + 3 + 0.95 + 2.50/2 11.149999999999999