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