Second solution in Creative category for Number Base by shiracamus
checkio=lambda s,r:int(('-1',s)[int(max(s),36) Feb. 24, 2014 Comments: e.roboda on Dec. 22, 2014, 2:29 p.m. <p>Cool! </p> veky on March 13, 2015, 12:25 p.m. <p>Nice way of looking before you leap. ;-)</p> <p>You could have used checkio instead of int inside [] for greater puzzlement. ;-)</p> DiZ on March 13, 2015, 2:51 p.m. <p>And have generated an infinite loop.. :P </p> veky on March 13, 2015, 10:58 p.m. <p>Ah yes, stupid me. :-/</p>
Feb. 24, 2014
Comments: