>> Why can you not use something like:
>>
>> >>>hypotenuse = hyp_squared**1/2

And for completeness that could also be written:

hypotenuse = pow(hyp_squared,1/2)

Again, without the need to import math.

-- 
Alan Gauld
Author of the Learn to Program web site
Temorarily at:
http://uk.geocities.com/[EMAIL PROTECTED]/
Normally:
http://www.freenetpages.co.uk/hp/alan.gauld

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to