Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Number Base by sbra
def checkio(str_number, radix):
try:
output = int(str_number, base=radix)
except ValueError:
return -1
return output
Nov. 20, 2016
Comments: