Level: Leave it to the cleaver (Python) - A little hint that might help

Just got stuck on one level before, and it was driving me crazy. As seems lots of people have been having same issue.

Level: Leave it to the cleaver (Python).

The problem is the four spaces.

if hero.isReady(“cleave”):
hero.cleave(target) <-------- This is the problem that I think most people run into when their code is not working.

Thanks!

if hero.isReady("cleave"):
            hero.cleave(target)

Can you show us your whole code?

Andrei

Put four instead of twelve spaces

Elijah The Great Programmer of the Prophets

Your indentation is wrong, theres to much space at the front try to press tab after the if statement.
Charlie

And indeed there is as I pointed out.