• Bug in Humpty-Dumpty mission??


I would like to give some feedback about ...

From: https://checkio.org/mission/humpty-dumpty/solve/


Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

There is a problem with returning the result from a function. When I use "print", the function prints the right result, but returning from function somehow changes the result and makes it wrong. I tried my function in IDLE and it works perfect. Is there a possibility that there is a bug of some sort?