Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Number Base by TovarischZhukov
def checkio(val, radix ):
try:
return int(val, radix )
except:
return -1
Dec. 2, 2015