Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
next(generator, 0) solution in Clear category for The Good Radix by Phil15
from string import ascii_uppercase, digits
DIGITS = digits + ascii_uppercase
checkio = lambda number: next((k for k in range(max(DIGITS.index(ch)
for ch in number) + 1, 37)
if not int(number, k)%(k-1)), 0)
Sept. 16, 2018