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