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