Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Straightforward solution in Uncategorized category for Number Guess by altarfinch
def checkio(attempts):
possibilities, divisors = set(range(1,101)), list(range(2,11))
for remainder, divisor in attempts:
possibilities &= set(range(remainder,101,divisor))
divisors.remove(divisor)
return divisors.pop(), possibilities.pop()
Sept. 25, 2013
Comments: