Error: "Unsupported compare operator: he"


#1

The level is Dust (Computer Science 4 Python) My code:

# Use while to loop until you have counted 10 attacks.

attacks = 0
while attacks < 10:
    # Attack the nearest enemy!
    enemy = hero.findNearestEnemy()
    if enemy:
        hero.attack(enemy)
    # Incrementing means to increase by 1.
    # Increment the attacks count.
    attacks += 1

# When you're done, retreat to the ambush point.
hero.say("I should retreat!") #∆ Don't just stand there blabbering!
hero.moveXY(79, 33)

Unsupported compare operator error
Codecombat now working?
#2

This is what I am having too…I don’t know how to fix it.


#3

I would have helped I’m not good at python, (Javascript)


#4

where does it point at? “Fix your code”


#5

We’re working on this bug now; thanks for the bug report.


#6

Should be fixed now; give it another shot.


#7

What does it mean “leader of the code”?


#8

He’s the boss, the big boy, the high guy, or one of them at least.


#9

xD The big boy :sunglasses:


#10

So he’s like one of the creators?


#11

I believe so yes, he’s the dude. Lol, idk if he is one of the main creators, I would imagine so, however, if not; he is a very high ranking member of the development or Forum teams. Part of the CodeCombat staff. Could be a Moderator for the Forums, I just know that he is high up there in the rankings for administration


#12

Ya guess, would you work for codecombat if they would sent you a request?


#13

I believe CodeCombat is hiring currently, I don’t know anything about being high level and being offered a job, i would assume it is simply like a usual job, apply, post your skills, do an interview, possibly solve a coding problem.


#14

Haha yeah, big boy here. :wink:

You can see more about our team and job openings here: https://codecombat.com/about – we aren’t currently hiring, but when we do hire, we like to hire from the community first, especially if we can see your contributions on our GitHub or in our level editor.