Explanation: the get() method returns the value of the key if the key is present in the dictionary and the default value(second parameter) if the key isn’t present in the dictionary.
Q. ,4))
β
Correct Answer: (B)
a
Explanation by: Mr. Dubey
the get() method returns the value of the key if the key is present in the dictionary and the default value(second parameter) if the key isn’t present in the dictionary.
Discussion
Question Analytics
1048
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
93%
Success Rate