# Need help with Blind Distance level

**URL:** <https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820>\
**Category:** Adventurer\
**Created:** [August 31, 2016, 9:07pm UTC](https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820 "2016-08-31T21:07:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vesko22](https://avatars.discourse-cdn.com/v4/letter/v/278dde/32.png) [@Vesko22](https://discourse.codecombat.com/u/Vesko22)\
**Post date:** [August 31, 2016, 9:07pm UTC](https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820/1 "2016-08-31T21:07:05Z")

</div>

I use Python.  
My code is:

 ![](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/5/52a49ed4c7d3d15ae787f7d2c1829148d7f349cf.png)

It says that:  
Unsuported Compare operator: undefined

Please help, I have no idea what could it be

---

<div class="post-metadata">

**Author:** ![UltCombo](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/ultcombo/32/3822_2.png) [@UltCombo](https://discourse.codecombat.com/u/UltCombo)\
**Post date:** [August 31, 2016, 10:55pm UTC](https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820/2 "2016-08-31T22:55:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [September 1, 2016, 5:14am UTC](https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820/3 "2016-09-01T05:14:48Z")

</div>

I suppose your problem is here:

`distance = nearestEnemyDistance ()`

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

---

<div class="post-metadata">

**Author:** ![Alexbrand](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Alexbrand](https://discourse.codecombat.com/u/Alexbrand)\
**Post date:** [September 1, 2016, 8:17am UTC](https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820/4 "2016-09-01T08:17:11Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [September 1, 2016, 8:38am UTC](https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820/5 "2016-09-01T08:38:38Z")

</div>

Hm. Ok. Then we are waiting the full code 🙂

---

<div class="post-metadata">

**Author:** ![Vesko22](https://avatars.discourse-cdn.com/v4/letter/v/278dde/32.png) [@Vesko22](https://discourse.codecombat.com/u/Vesko22)\
**Post date:** [September 2, 2016, 4:41am UTC](https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820/6 "2016-09-02T04:41:44Z")

</div>

the first lines are only comments

---

<div class="post-metadata">

**Author:** ![Bryukh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/bryukh/32/19597_2.png) [@Bryukh](https://discourse.codecombat.com/u/Bryukh)\
**Post date:** [September 2, 2016, 4:42am UTC](https://discourse.codecombat.com/t/need-help-with-blind-distance-level/8820/7 "2016-09-02T04:42:29Z")

</div>

> [@Vesko22](#):
>
> the first lines are only comments

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