🚧 What It Does
This simple python script allows you to find the distance between two points, using a city database.
👨🏾💻 How I Built It
As I've mentioned before, I love to find hacky ways to solve problems. I realized I can load a database of cities, match the user inputted city with latitude and longitude points in the database, and find the distance between the two points. I solve the first two problems by downloading a public dump of city data and importing it to python. I solved the third and final problem by using Haversine's Formula, which is a formula to calculate the distance between two points. Using this knowledge, I created a no API and import script, which can be implemented in any language.
📙 What I Learned
I learned that you can do advanced things, in python, without using APIs, but by using databases.

Log in or sign up for Devpost to join the conversation.