#Python, AncientHistorian
Python, AncientHistorian
Firmly believes that the future will be exactly like the past, but believes the last round is too recent to be histiry, so it just loops through 1 - 999 and chooses what would have been the best the previous rounds exept the last. First 2 round returns 500.
def choose(round, players, scores):
calc = lambda n, scores: sum([abs(int(i)-n)**.5 for i in scores.split(' ')])
return max(range(1, 1000), key=lambda n: sum([calc(n, j) for j in scores[1:]])) if round>1 else 500