dict_a = { 'name': 'Teja', 'age': 15 } for key, value in dict_a.items(): pair = "{} {}".format(key,value) print(pair)