xxxxxxxxxx
#print keys and values from the dictionary
for k, v in dic.items():
print(k, v)
xxxxxxxxxx
# Sample dictionary
my_dict = {'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}
# Printing the values of the dictionary
for value in my_dict.values():
print(value)