在python中有內建的求對數的函式。 log()方法返回x的自然對數,對於x>0。語法以下是log()方法的語法:#!/usr/bin/pythonimport math # This will ...
確定! 回上一頁