ID EN
Math

log

Python 3.11

With one argument, return the natural logarithm of x (to base e).

Syntax

PYTHON
math.log(x[, base])