Multiple Choice
What is the output of the following program?
D = dict()
For i in range (3) :
For j in range(2) :
D[i] = j
Print(D)
A) {0: 0, 1: 0, 2: 0}
B) {0: 1, 1: 1, 2: 1}
C) {0: 0, 1: 0, 2: 0, 0: 1, 1: 1, 2: 1}
D) TypeError: Immutable object
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q12: Which of the following formatting options can
Q13: What is the output of the following
Q14: What is the output of the following
Q15: Which function overloads the >> operator?<br>A)more()<br>B)gt()<br>C)ge()<br>D)rshift()
Q16: What is the output of the following
Q18: What is the output of the following
Q19: What is the output of the following
Q20: Suppose t = (1, 2, 4, 3),
Q21: What is the output of the following
Q22: What is the output of the following