Dictionary in Python MCQ for class 11-12
Dictionary in Python MCQ for class 11-12 1. In order to store values in terms of key and value we use what core data type a) list b) tuple c) class d) dictionary 2. What is the output of the following code? a={1:”A”,2:”B”,3:”C”} print(a.setdefault(3)) a) {1: ‘A’, 2: ‘B’, 3: ‘C’} c) … Read more