From anonymous, 6 Years ago, written in Plain Text.
Embed
  1. >>> radians(0) == 0
  2. True
  3. >>> radians(30) == pi/6
  4. True
  5. >>> radians(45) == pi/4
  6. True
  7. >>> radians(60) == pi/3
  8. True
  9. >>> radians(90) == pi/2
  10. True
  11. >>> radians(120) == 2*pi/3
  12. True
  13. >>> radians(135) == 3*pi/4
  14. True
  15. >>> radians(150) == 5*pi/6
  16. True
  17. >>> radians(180) == pi
  18. True
  19. >>> radians(210) == 7*pi/6
  20. False
  21. >>> radians(210)
  22. 3.6651914291880923
  23. >>> 7*pi/6
  24. 3.665191429188092
  25. >>> radians(225) == 5*pi/4
  26. True
  27. >>> radians(240) == 4*pi/3
  28. True
  29. >>> radians(270) == 3*pi/2
  30. True
  31. >>> radians(300) == 5*pi/3
  32. True
  33. >>> radians(315) == 7*pi/4
  34. True
  35. >>> radians(330) == 11*pi/6
  36. True
  37. >>> radians(360) == 2*pi
  38. True