[Tutor] square root

Deirdre Saoirse deirdre@deirdre.net
Thu, 1 Feb 2001 10:06:28 -0800 (PST)


On Wed, 31 Jan 2001, W.W. van den Broek wrote:

> How do you use the
> square root as operator
> in python?
> Dumb question, but
> thanks anyway,

import math
math.sqrt(25)

Or...
from math import sqrt
a = sqrt(25)

_Deirdre