mydictionary = {'name':'python', 'category':'programming', 'topic':'examples'} for x in mydictionary: print(x, ':', mydictionary[x])