[Tutor] sqrt?
Walter Wefft
walterwefft at googlemail.com
Sun Apr 25 06:09:42 CEST 2010
Kirk Z Bailey wrote:
> ok gang, My desktop runs 2.5, and for my college algebra I needed to do
> som quadratic equation work. This involves squareroots. So I fired uop
> the interactive idle and imported math. I then tried to play with sqrt.
>
> Nothing.
>
> Importing math does not import a sqrt function.
>
> Now riddle me this: if string.foo makes it do a function FOO on a
> string, whyfore and howcome does math.sqrt not do square roots on a
> simple number like 4???
>
Show us the code that you wrote.
> I am now officiciously pissed.
>
“It’s not that I’m so smart,
it’s just that I stay with problems longer.“
Albert Einstein
More information about the Tutor
mailing list