Question: Given, num _ pages = { book 1 : 2 5 5 , book 2 : 3 1 2 , book 3

Given,
num_pages ={"book1": 255, "book2": 312, "book3": 456}
How to add an element with key "book4" and value 532 to the dictionary num_pages?
Group of answer choices
num_pages.append("book4",532)
num_pages["book4"]=532
"book4".append(532)
num_pages[book4]=532

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!