Python code example 'Compute a natural log' for the package math. ... How to: Compute a natural log. Details. import math. print math.log(math.e). Output. 1.0.
確定! 回上一頁