list = [ { "term": "the term", "def": "the def" } ] for obj in list: print(obj["term"]+": "+obj["def"]) for obj in list: print(obj["def"]+": "+obj["term"])