Q. Which of the following statements create a dictionary? (Solved)
1. d = {}
2. d = {“john”:40, “peter”:45}
3. d = {40:”john”, 45:”peter”}
4. all of the mentioned
- d. all of the mentioned
1. d = {}
2. d = {“john”:40, “peter”:45}
3. d = {40:”john”, 45:”peter”}
4. all of the mentioned