Beginner question: Logs?

Stephen Prinster prinster at mail.com
Thu Jun 2 00:18:49 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?
> 

try this:

import math
math.log10(15625)



More information about the Python-list mailing list