十進経緯度から度分秒に変換

def GetDMS(DecimalDegree):
    degree = int(DecimalDegree)
    minute = int((DecimalDegree - degree) * 60)
    second = ((DecimalDegree - degree) * 60 - minute) * 60

    return str(degree) + "度" + str(minute) + "分" + str(second) + "秒"

print GetDMS(135.5902778)