Question: intro python class if possible go easy Your task is to do the following: - Ask the user how many places they would to go
intro python class if possible go easy
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, ask 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 specifications: - You must ask them with the number of the location starting from location \#1. Example 1: Welcome to the travel planner. How many places are we visiting today? 3 How long do we have to visit today? 300 How long does it take to travel to location \#1? 30 How long would you like to stay in location \#1? 15 How long does it take to travel to location \#2? 5 How long would you like to stay in location \#2? How long does it take to travel to location \#3? 60 How long would you like to stay in location \#3? 20 This trip would take 160 minutes. You are able to take this trip
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
