• Wrong result "The secret room"

 

Hi! What's wrong with my solution ?

Checkio always return "Fail.Your result:5. Right result:2. Fail:secret_room(3)" during CHECK

But it works good in my terminal and if i use (print(secret_room(3)) in checkio - it's also return right result.

So. What's wrong ?

https://codeshare.io/29LPMM