Beginner question: Logs?

Robert Kern rkern at ucsd.edu
Thu Jun 2 00:14:08 EDT 2005


Svens wrote:
> Hey thanks...
> 
> Still getting an error message though.  Here's what i'm doing:
> ------
> import math
> log10(15625)
> ------
> -It says that log10 is not defined, but it is since the module is
> imported, right?

No, read the tutorial.

import math
math.log10(15625)

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Python-list mailing list