Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Need to write a python code to retrieve, the available routes between 2 given countries along with the flight route and duration

$
0
0

enter image description here

Above is the table i have in hand, and i need to get 2 outputs as follows.

  1. Available routes between given 2 countriesexample: starting country = Sri lanka and destination = AustraliaRoute 1 Sri Lanka Singapore Australia : Duration 11.25 hrsRoute 2 Sri Lanka Australia : Duration 9.25 hrsRoute 3 Sri Lanka Japan Australia : Duration 18 hrsRoute 4 Sri Lanka Singapore Japan Australia : Duration 18 hrs

  2. The best route based on the above selectionRoute 2 Sri Lanka Australia : Duration 9.25 hrs


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>