2023-06-24 Python - math.exp2(x):2の乗数 Python3 mathモジュール 概要 インポート 実行結果 表示イメージ 概要exp2(x) 2の乗数 mathモジュール python バージョン3.11より インポート import math 実行結果 import math print(math.exp2(2)) print(math.exp2(3)) 表示イメージ 4.0 8.0