fork download
  1. # your code goes here
  2. #0JLQsNGB0LjQu9C10L3QutC+INCQ0YDRgtC10Lwg
  3. #просте завдання 1_6
  4.  
  5. import math
  6.  
  7. def GrToRad(a):
  8. return (a/180)*math.pi
  9.  
  10. def RadToGr(a):
  11. return (a*180)/math.pi
  12.  
  13. print(GrToRad(180))
  14.  
  15. print(GrToRad(20))
  16.  
Success #stdin #stdout 0.11s 14168KB
stdin
Standard input is empty
stdout
3.141592653589793
0.3490658503988659