from vincenty import vincenty from astropy import constants from astro

1
2
3
4
5
6
7
8
9
from vincenty import vincenty
from astropy import constants
from astropy import units as u
Belgorod = (50.56784, 36.57645)
Wrocław = (51.05497, 17.00884)
m_length = 1000 * vincenty(Belgorod, Wrocław) * u.meter
speed = constants.c
time = m_length / speed
print(time)