1 import json 2 data_file = open(input.txt) 3 contents = json.loads(data_file.read) 4 for key in contents.keys() 5 print(key+sum(contents[key])/len(contents[key]))