Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
S solution in Clear category for Number Base by Syndrome
def checkio(str_num, radix):
try:
return(int(str_num, radix))
except ValueError:
return(-1)
Oct. 25, 2017