On Tue, Jul 3, 2012 at 1:16 AM, Rick Johnson <rantingrickjohn...@gmail.com> wrote: > py> 1 + 3 * 4 > should ALWAYS equal 16! > > With parenthesis only used for grouping: > py> a + (b*c) + d > > Which seems like the most consistent approach to me.
Oh yes, absolutely consistent. Consistency. It's a CR 1/2 monster found on page 153 of the 3.5th Edition Monster Manual. Let's see. By your principle, we should evaluate the ** before the - in: 2**-1 Have fun. ChrisA -- http://mail.python.org/mailman/listinfo/python-list