Name | log() |
||
---|---|---|---|
Examples |
# Calculates the base-10 logarithm of a number def log10(x): return (log(x) / log(10)) i = 12 print(log(i)) print(log10(i)) | ||
Description | Calculates the natural logarithm (the base-e logarithm) of a number. This function expects the n parameter to be a value greater than 0.0. | ||
Syntax | log(n) | ||
Parameters |
|
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License