Question: Do in python 6- Create an empty dictionary, then add 4 entries (the key is a word, the value is word's frequency in a book).

Do in python

Do in python 6- Create an empty dictionary, then add 4 entries

6- Create an empty dictionary, then add 4 entries (the key is a word, the value is word's frequency in a book). [example: { 'street': 23\}]. your code goes here: 7- Create a for loop to access the entries from Q.6 and print the keys and values. your code goes here: 8- Copy the code from Q.7 and search for a specific key in the dictionary and prints its value. The program prints a message " the { key } is not found", if the key does not exist. your code goes here

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!