[Tutor] log
Rob
uselesspython@yahoo.com
Sat, 08 Sep 2001 23:09:54 -0500
> Charles Lim wrote:
>
> Dear Sir/Madam, 9/9/2001
>
>
> If someone knows how to write a program that computes log base 10 and
> natural log please write me a few examples and explain how they work.
> Thank you.
>
Until someone gives you a better answer than this, here's the link to
the math module documentation at python.org.
http://www.python.org/doc/current/lib/module-math.html
Among many other features, it includes:
log(x)
Return the natural logarithm of x.
log10(x)
Return the base-10 logarithm of x.
> Sincerely,
>
> Charles
>
>
Rob
--
Aw, c'mon.... You indent ANYWAY!
Useless Python!
http://www.lowerstandard.com/python