Question: In this exercise, you will create a Python program that asks the user for their age and then provides a personalized movie recommendation based on
In this exercise, you will create a Python program that asks the user for their age and then provides a personalized movie recommendation based on their age group. The recommendations will be different for users under 10 , between 10 and 14 , between 15 and 17 , and 18 or over. Follow these steps to complete the exercise: 1. Use the input() function to get the user's age. 2. Convert the age to an integer using the int() function. 3. Use conditional statements (if, elif, and else) to display the appropriate movie recommendation based on the user's age. Output message should be as shown below based on age. Example of Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
