How do I display number of degrees in 1 Radian Python 3.3

时间:2016-02-12 19:43:36

标签: python

I'm a beginner when it comes to python, and I have been stuck on this problem that is probably very easy, but I am having a massive brain fart with this. I am trying to display the number of degrees in one radian. Any Help is appreciated

print(math.radians(math.degrees(1)))

That's what I have right now, and I've been messing with it for a while now. I just cant get it.

1 个答案:

答案 0 :(得分:1)

Almost there! math.degrees takes in a number in radians, so math.degrees(1) will give you the answer (57.295779...)