Convert Decimal Degrees to DMS in Python

Prompt

Result