I have this list of dictionary:
MylistOfdict = [{\'Word\': \'surveillance\', \'Word No\': 1}, {\'Word\': \'equivocal\', \'Word No\': 2}]
Don't use the same dict, make copies of them:
word_db2 = [] key = 1 for i in MylistOfdict: for j in range(1, 4): i = dict(i) i['Card Type'] = 'Type '+str(j) i['Card Key'] = key print(i) word_db2.append(i) key += 1