Menu

[solved] – Question 93275

Assume that d has been initialized as an empty dictionary:
d = {}
Which of the following generates an error?
d[12] = 5
d[“1,2”] = 5
d[(1,2)] = 5
d[[1,2]] = 5

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *