2023-06-24 Python - math.degrees(x):ラジアン→角度 Python3 mathモジュール 概要 インポート 実行結果 表示イメージ 概要degrees(x) ラジアン→角度 mathモジュール インポート import math 実行結果 import math print(math.degrees(0)) print(math.degrees(0.7853981633974483)) print(math.degrees(1.5707963267948966)) print(math.degrees(3.141592653589793)) 表示イメージ 0.0 45.0 90.0 180.0