Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for The Fastest Horse by oLeBeLo
def fastest_horse(horses: list) -> int:
winners = [race.index(min(race)) for race in horses]
win_count = [winners.count(horse) for horse in range(len(horses[0]))]
return win_count.index(max(win_count))+1
Nov. 28, 2019
Comments: