Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Need help with Blind Distance level


I use Python.
My code is:

It says that:
Unsuported Compare operator: undefined

Please help, I have no idea what could it be


I don’t see any problem with the code in your screenshot. Can you copy and paste the whole code here?


I suppose your problem is here:

distance = nearestEnemyDistance ()

You placed the whitespace between the function’s name and brackets.


This extra space catches my eye too, but I tried to put the same extra space into right code and - ta-daa! - it worked) So, maybe, it really could be something in the first four lines…


Hm. Ok. Then we are waiting the full code :slight_smile:


the first lines are only comments


Anyway, please, post the whole your code. Without it we can’t help you.