Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Number Guess solution in Uncategorized category for Number Guess by capback250
# migrated from python 2.7
def checkio(attempts):
ans = {0:3, 1:5, 2:7}
if len(attempts) < 4:
return [ans[len(attempts) - 1], 1]
n = list(range(1, 101))
for st in attempts:
n = [x for x in n if x % st[1] == st[0]]
return [2, n[0]]
Jan. 23, 2016