Which Keys Survive
d1 = {[1, 2]: "a"}
d2 = {(1, 2): "a"}
d3 = {(1, [2]): "a"}
Which of these three lines raise a TypeError?
Sign in to answer questions and track your progress
Sign Ind1 = {[1, 2]: "a"}
d2 = {(1, 2): "a"}
d3 = {(1, [2]): "a"}
Which of these three lines raise a TypeError?
Sign in to answer questions and track your progress
Sign In