?
What is the output of the following code:
What is the output of the following code:
my_dict = {'a': 1, 'b': 2, 'c': 3}
print(my_dict.get('d', 0))
print(my_dict.get('d', 0))
Join the Discussion
Login to post a comment or share your explanation.
Login