• name not defined

I would like to give some feedback about ...

I have some problem- I can't call function and see what's wrong with it. Interpretator said to me "name 'translate' is not defined". I thing if something was wrong only with my code - it should return to me error of other sort. In other word - what I can do in order to be able to test code in this window? It is not a first case when I can test code in this window- and therefore must open IDLE. I check and I was defined function

From: https://py.checkio.org/mission/bird-language/solve/


Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36