もっと詳しく

連載目次 import math # 10の自然対数(eを底とする)を求める x = 10 result = math.log(x) print(f’math.log({x}): {result}’) # math.log(10): 2.302585092994046 # math.eの自然対数(eを底とする)を求める x = math.e result = math.log(x) print(f …