11. In Python, how can you remove all key-value pairs from a dictionary?
12. What is the purpose of the items() method for dictionaries?
13. Which method is used to create a shallow copy of a dictionary?
14. What is the purpose of the clear() method for dictionaries?
15. What is the purpose of the fromkeys() method for dictionaries?
16. In Python, how can you get a list of all keys in a dictionary?
17. What is the purpose of the popitem() method for dictionaries?
18. What is the output of the following code:
my_dict = {'a': 1, 'b': 2}
print(my_dict['a'])
my_dict = {'a': 1, 'b': 2}
print(my_dict['a'])