Question: This needs to be in python and has to run completely. When traveling it is always fun to use the local transportation methods to get
When traveling it is always fun to use the local transportation methods to get around. It could be via train, taxis or even ride sharing. When I am visiting different locations I try to visit as many places as possible. We are going to write a program that will determine if we can visit all the locations we want to visit that day. Your task is to do the following: - Ask the user how many places they would to go to. They will input a positive integer value. - Ask the user how much time they have in that day in minutes. They will input a positive integer value. - Depending on how many places the they want to visit, ark the user two questions: - How long does it take to travel to the location? - How long do you spend there? - After you collect the information, determine if you can visit all the locations given the time you have. - Print out the total time it would take to travel. Other specificationsi - You must ask then with the number of the location starting from location in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
