2023-06-22 Python - math.isinf(x):無限大か mathモジュール Python3 概要 インポート 実行結果 表示イメージ 参考 概要isinf(x) 無限大か真偽値で返す。 mathモジュール インポート import math 実行結果 import math math.isinf(math.inf) 表示イメージ True 参考Python - math.inf:無限大