code: def todms(origin):
      
  
      degrees, minutes = tomindec(origin)
      seconds = (minutes % 1) * 60
  
      return degrees, int(minutes), seconds
docs: Convert [+/-]DDD.DDDDD to a tuple (degrees, minutes, seconds)