[Tutor] Python root.

Aidas aidas at vineva.lt
Sun Apr 18 17:21:47 CEST 2010

In here http://mail.python.org/pipermail/tutor/2001-February/003385.html 
You had written how to ger root in python. The way is: "from math import 
sqrtprint sqrt( 49 )".

I noticed that if I write just "print sqrt(49)" I get nothing. So why I need to write "from math import sqrt" instead of write just "print sqrt( 49 )"?

P.S. Sorry about english-I'm lithuanian. :)

More information about the Tutor mailing list