Python miles traveled based on coords. The dist function of Python math module finds the Euclidean distance between two points. Euclidean distance between the two points is given by.
We will use the distance formula derived from Pythagorean theorem.
Write a program in python that allows the user to enter the latitude and longitude of two points on the Earth in degrees. The Python mathdist function is used to return the Euclidean distance between two points p and q each given as a sequence or iterable of coordinatesThe two points must have the same dimension. Write a program in python that allows the user to enter the latitude and longitude of two points on the Earth in degrees. Your program should display the distance between the points following the surface of the earth in kilometers.