13
Question Question 13
Which of the following is correct with respect to above Python code ?
d = {"a" : 3,"b" : 7}- a dictionary d is created.
- a and b are the keys of dictionary d.
- 3 and 7 are the values of dictionary d.
- All of these.
All of these.
Reason — The dictionary d has two key-value pairs where a and b are the keys and 3 and 7 are the values respectively. Therefore, all the statements are correct.