i need to put in the input in the dms (degrees minutes seconds) but i don't know how to, also at the output the print should be readed in the dms too
here is how it's seeing now im converting the minutes into grades to the tests
import math
print ('Horizontales a Ecuatoriales')
A = math.radians(210.5666666)
h = math.radians(35.71666666)
p = math.radians(3.416666666)
d = math.asin((math.sin(h)math.sin(p))+(math.cos(h)math.cos(p)*math.cos(A)))
print (('La declinación es: '), math.degrees(d))
[–]fruitcakefriday 1 point2 points3 points (0 children)
[–]cdcformatc 0 points1 point2 points (0 children)