Examveda

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: Option D


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python