Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
The Good Solution solution in Clear category for The Good Radix by veky
def checkio(number):
def good(base):
from contextlib import suppress
with suppress(ValueError): return not int(number, base) % (base - 1)
return next(filter(good, range(2, 37)), 0)
Oct. 7, 2016
Comments: