Run
my_dictionary = {'name':'apple', 'category':'fruits'} for x in my_dictionary: print(x, ':', my_dictionary[x])
Output