A dictionary is declared as: D = {10: "A", 25: "B", 32: "C", 54: "D"} Which of…
PYQ EMRS TGT/PGT (ESSE) 2023
A dictionary is declared as: D = {10: "A", 25: "B", 32: "C", 54: "D"} Which of the following is incorrect?
- A.
D[20] = "E"
- B.
D[30] += 20
- C.
D[32] += '*'
- D.
D['X'] = 100
Attempted by 2056 students.
Sign up free to check your answer
Sign up freeLoading lesson…

