"Dan Bishop" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeff Epler wrote: > > On Sun, Feb 06, 2005 at 12:26:30PM -0800, administrata wrote: > > > Hi! I'm programming maths programs. > > > And I got some questions about mathematical signs. > ... > > > 2. Inputing fractions like (a / b) + (c / d), It's tiring work too. > > > Can it be simplified? > > > > Because of the rules of operator precedence, > > a / b + c / d > > has the same meaning as the expression you gave. > > And it's important to note that that meaning will change in version > 3.0. Until then, it's best to start every module with "from __future__ > import division".
You're right, of course, but that's like offering advice about how to shift gears on a bicycle to someone who hasn't even figured out where the pedals are yet! ;-) -- I don't actually read my hotmail account, but you can replace hotmail with excite if you really want to reach me. -- http://mail.python.org/mailman/listinfo/python-list