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

Need help at the lvl "Long Road" with Python


I can’t find what I’m doing wrong. Sometimes there was written that item = pet.findNearestItem() is written wrong, that I should type in pet.findNearestItem()… which was written the same. Only without the () there is no error, but it still doesn’t work. What do I need to change? Help :confused:

1 Like

Just add the () back

1 Like

you added “pass” too early.:sunglasses:

1 Like

Tried this already … always this error. :worried:
Also when pass is under while True or if…

1 Like

Try item = pet.findNearestByType("item") or potion = pet.findNearestByType("potion")