Question: def buzzfeedQuizTrip(number): Return the corresponding trip destination based on the value of the user input using the following guidelines: [1-4]: Hawai'i (4-8): Bahamas (8-12): Madagascar

 def buzzfeedQuizTrip(number): Return the corresponding trip destination based on the value

def buzzfeedQuizTrip(number): Return the corresponding trip destination based on the value of the user input using the following guidelines: [1-4]: "Hawai'i" (4-8): "Bahamas" (8-12): "Madagascar" (12-16): "Fiji" (16-20]: "Iceland" -If the number is not an int type Or if the number is outside the range of [1-20), return the message "please enter a valid integer between 1 and 20" return "stub

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!