from vincenty import vincenty from astropy import constants from astro

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
from vincenty import vincenty
from astropy import constants
from astropy import units as u
Belgorod = (50.56784, 36.57645)
Belgorod2 = (-50.56784, 36.57645)
Wroclaw = (51.05497, 17.00884)
Wroclaw2 = (-51.05497, 17.00884)
m1 = 1000 * vincenty(Belgorod, Belgorod2) * u.meter
m2 = 1000 * vincenty(Wroclaw, Wroclaw2) * u.meter
print(m1)
print(m2)