Question: Q3 Question 3 1 Point What does the following code print to the terminal? d = {a : 1, b : 2, C : 3}

 Q3 Question 3 1 Point What does the following code print

Q3 Question 3 1 Point What does the following code print to the terminal? d = {"a" : 1, "b" : 2, "C" : 3} for k, v in d: d[k] += 1 print(d["c"]) Enter your answer here Save Answer Q4 Question 4 2 Points What does the dictionary dctn contain after the following lines of code are executed? dctn = {} dctn [1980] = "a" dctn [1990] = "b" dctn [2000] = "C" dctn[1990] = "d" O {} O {1980:"a", 1990: "b", 2000:"c", 1990:"d"} O {1980:"a", 1990: "b", 2000:"c"} O {1980:"a", 1990:"", 2000:"c"} Save

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!