First solution in Clear category for Number Base by juliakhulla
def checkio(st, r): try: return int(st, r) except ValueError: return -1
Nov. 23, 2016