• + 1 comment

    since you use sorted scores[1] this may not work in cases where there are 2 instances of the lowest score, other than that -- very readable code!