Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 399 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 399 Bytes

distance-between-cities

My solution on calculating the distance between two cities using the Haversine formula (latitude and longitude)

To calculate the distance I used the package Haversine module (pip install haversine) and a formula found from a StackOverflow question .

Answers are given in km and mi