• univocalic_davasaan bug?


I would like to give some feedback about the problem "univocalic_davasaan". My solution works well locally, but the site keeps telling me that the answer of my program is -1:

Your result: -1 Right result: 0 Fail: davasaan(1)

You can see locally the answer is really

y = (lambda x: 1+(x>0 and y(x-10)))

davasaan = lambda x: y(x)-2



From: http://www.checkio.org/mission/univocalic_davasaan/solve/


Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36