1.

Which of the following statements create a dictionary?(a) d = {}(b) d = {“john”:40, “peter”:45}(c) d = {40:”john”, 45:”peter”}(d) All of the mentioned

Answer» Right answer is (d) All of the mentioned

Explanation: Dictionaries are created by specifying keys and values.


Discussion

No Comment Found