Main content
Course: Intro to computer science - Python > Unit 2
Lesson 5: Making recommendationsProject: Recommendation engine
Instructions
Recommend a course
See Instructions: Recommendation engine.
- Choose at least five possible items to recommend within a category.
- Create a variable for each item.
- Use the
input()
function to ask the user for at least three attributes or preferences. - Use conditionals to select a recommendation from among your variables based on the user’s answers.
Your algorithm should include at least two compound conditions, chained conditionals, or nested conditionals.
We’ve started an algorithm that recommends Khan Academy courses. You can choose a different category and rewrite the program, or you can extend the existing program.
What assumptions does your algorithm make?