Question: write in python In this lab, we'll create a dictionary that will allow you to store the favorite items of one of your group members.
write in python 

In this lab, we'll create a dictionary that will allow you to store the favorite items of one of your group members. Create a dictionary favorite that stores each of the following categories as keys and your Partner 1's answers/favorites as values: - food - song -movie-book-color-class -- for testing purposes, set the value of this key to be "cs 8" (which means that in your dictionary, you will need to include a key-value pair "class" : "CS 8") Given a string input of key, the output of your program should be 1 Partner_1's favorite key is value. Note: we will store your partner's name in the program but not as a value in the dictionary. This will allow us to customize and test the output. Hint: remember that dictionaries use brackets and can be indexed by strings. Ex: If the input is: Radha class the output should be: Radha's favorite class is CS 8. If the input is: Roman food the output can be Roman's favorite food is ramen. If the input can be: Roman genre the output is: Roman's favorite genre is hip hop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
