まぬねこの足跡。。。

備忘録+たのしさ+ひっそりと

Python - math.degrees(x):ラジアン→角度

概要

degrees(x)

インポート

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