Question: using python 3 Let's practice using if/elif/else statements and Boolean operators. Return the corresponding trip destination based on the value of the user input using
Let's practice using if/elif/else statements and Boolean operators. 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" Assume a valid integer will be given as an input. If the number is outside the range of [1-20), display the message Please enter a valid integer between 1 and 20. For example, if the input is 3 the output should be Hawai'i If the input is 12 the output should be Madagascar If the input ise the output should be Please enter a valid integer between 1 and 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
