Created geodesy section with one algorithm (#1757) · devdave/Python_TheAlgorithms@2e405f3 · GitHub
Skip to content

Commit 2e405f3

Browse files
eightysixthcclauss
andauthored
Created geodesy section with one algorithm (TheAlgorithms#1757)
* implemented haversine * updated docstring Only calculate distance * added type hints * added type hints * improved docstring and math usage * f"{haversine_distance(*SAN_FRANCISCO, *YOSEMITE):0,.0f} meters" Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent 53042f0 commit 2e405f3

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

geodesy/haversine_distance.py

Lines changed: 56 additions & 0 deletions

0 commit comments

Comments
 (0)