Programing Language: latitude-longitude-decimalize

Xah Lee xahlee at gmail.com
Tue Nov 29 17:53:15 EST 2011


fun programing exercise. Write a function “latitude-longitude-
decimalize”.

It should take a string like this: 「"37°26′36.42″N 06°15′14.28″W"」.
The return value should be a pair of numbers, like this: 「[37.44345
-6.25396]」.

Feel free to use perl, python, ruby, lisp, etc. I'll post a emacs lisp
solution in a couple of days.

 Xah



More information about the Python-list mailing list