Solution 1.7

trials={'word':[], 'ink':[]}
for word in ['red','green','blue']:
    for ink in ['red','green','blue']:
        trials['word'].append(word)
        trials['ink'].append(ink)
print(trials)

Back to top