I think you are looking for this:

>>> (math.pi - (math.sqrt(math.pi)))**2
1.8745410610157363
>>>

simple, multiplication and division have a higher precedence over addition
and subtraction

-Alex Goretoy
http://www.goretoy.com
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to