data = [('Milter', 'Miller', 4), ('Milter', 'Miler', 4), ('Milter',
    'Malter', 2)]
dictionary = {}
for realName, falseName, position in data:
    dictionary.setdefault(realName, {})[falseName] = position
python dictionary of dictionaries