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

Need help at the lvl "Long Road" with Python

#1

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
#2

Just add the () back

1 Like
#3

you added “pass” too early.:sunglasses:

1 Like
#4

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

1 Like
#5

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