Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Sim0000's one-liner without if :) solution in Creative category for Number Base by suic
# Credits: https://py.checkio.org/mission/number-radix/publications/Sim0000/python-3/one-liner/
checkio = lambda s,r: int(max(s),36) < r and int(s,r) or -1
April 27, 2017
Comments: