I wrote a python 3.6 code for this problem. The solution is here.
My idea is to take input, calculate the lead and update it onto a dictionary as a key with value 1 or 2, depending on who had more points. Also I side by side made a list for all the leads and using python’s sort method, found the maximum element.
Then I used the dictionary get method to figure out who won.
Not sure where I went wrong…