I suddenly get 'NameError' all the time
When I run any function checkio() or other function it would always say: NameError: ... is not defined. However, I am 100% sure that the function is defined just as it should.
For example like my code is like this:
def safe_pawns(pawns): return 0
And I call the function in the command line as: safe_pawns()
Then it says "NameError: name 'safe_pawns' is not defined"
Is there some other how you guys call the function in the command line or is this a bug?
Thanks!
From: https://checkio.org/mission/brackets/solve/
HTTP_USER_AGENT:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36