Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
horses solution in Clear category for The Fastest Horse by Rudeboyz_Squad
from datetime import datetime
def fastest_horse(horses):
res = {}
for i,hh in enumerate(horses):
horses[i] = {a+1:datetime.strptime(b,'%M:%S') for a,b in enumerate(hh)}
winer = min(horses[i], key=horses[i].get)
if winer in res.keys():
res[winer] += 1
else: res[winer] = 1
return max(res,key=res.get)
April 9, 2019