I am having trouble with this bit of code.
print(\"The Overall Winner is,\", sorted(data, key=lambda(x,y): sum(n[1] for n in y), reverse=True),sum(event[1] for e
Your problem is that you're using argument unpacking in the lambda while using Python 3. Instead of doing this:
lambda(x,y): sum(n[1] for n in y)
Do this:
lambda item: sum(n[1] for n in item[1])