Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Number Base by Marianooo
def checkio(str, radix):
l=len(str)
i=0
sum=0
if(ord(max(str))-48<10):
if(ord(max(str))-47>radix):
return -1
else:
while(i=10):
if(ord(max(str))-55>radix):
return -1
else:
while(i
Nov. 5, 2017