Metal detector Python [Solved]

Guys I need help I tried this level a lot I just don’t know what they me by return the distance to it and say the distance

Here is the error box

Try to write
if item and item.type == "coin":

But what is mean say distance?

But your error was about the item.

Yea now the error is gone so what it mean say the distance

Maybe you shouldn’t put the " ". Although I haven’t played CoCo for a year so I’m not sure will that work. :joy:

Thanks a lot it worked (200000)