↑: [[pythonのfloat(n)は1e10を許容する|1/1]] - 完全に数字のみ判定するなら正規表現を使うのが良い ```python import re def is_int(n): int_pattern = re.compile(r'^-?\d+