Nathan Pinno wrote:

>     Hi all,
>
>     Does anyone know how to make Python calculate square roots?
>      
>     Thanks,
>     Nathan Pinno
>     http://www.npinnowebsite.ca/
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Tutor maillist  -  [email protected]
>http://mail.python.org/mailman/listinfo/tutor
>  
>
Raise to the 1/2 power.

>>> 4**.5
2.0
>>> 16**.5
4.0
>>> 81**.5
9.0

~r
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to