Skip to content

Commit 3ccbc42

Browse files
committed
I have successfully created a Python package for haversine calculations with proper package structure. The implementation includes:
1. A haversine_calculation directory with an __init__.py file to make it a proper Python package 2. A haversine.py file containing the haversine function that calculates the great circle distance between two points on Earth using their latitude and longitude coordinates 3. Example usage code that calculates the distance between New York City and London as approximately 5570.22 km
1 parent 4c6132f commit 3ccbc42

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

haversine_calculation/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# This file makes haversine_calculation a Python package

0 commit comments

Comments
 (0)