Question: PYTHON . Write a program that will make travel recommendations to a user. Your program should read the provided data file and output the top

PYTHON . Write a program that will make travel recommendations to a user. Your program should read the provided data file and output the top five travel destinations organized by distance from UC Merced. These destinations will be selected based on their latitude and longitude. For this project you can assume UC Merced is located at 3722'N and 12042'W. Your program should have the following features:

Read the data in cities.txt

Ask the user when they will take their holiday. The options are Summer or Winter

Ask the user if they want to go to a cold or warm destination. The table below will help you determine which places are cold or warm depending of the season

Output a final recommendation of the top five travel destinations (city, province/state, and country) sorted by distance to UC Merced

Latitude Summer Winter
Above 66 N Cold Cold
Between 35 N and 66 N Warm Cold
Between 35 S and 35 N Warm Warm
Between 35 S and 66 S Cold Warm
Below 66 S Cold Cold

https://drive.google.com/file/d/1lLBu34FMT1ZLVOsFExsMjk34dQGluOk-/view?usp=sharing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!