CBSE Class 11 Informatics Practices
Question 27 of 66
Dictionary — Question 10
Back to all questionsBoth 2 and 3
Reason — Student.get("marks") and Student["marks"] both access the value associated with the key "marks" in the Student dictionary. While Student.get(3) would return "None" because there is no key 3 in the dictionary.