Question: Given the following code which creates a dictionary with ID numbers and author names, what would be the final value of keyList [ - 3

Given the following code which creates a dictionary with ID numbers and author names, what would be the final value of keyList[-3]?
d ={101238: "Hugh Miller", 101850: "Phyllis Whitney", 101995: "Daphne Du Maurie"
d[101638]= "Isaac Asimov"
d[101400]= "Becky Chambers"
valList = list(d.values())
keylist = list(d.keys())

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 Programming Questions!