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
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor