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":

1 Like

But what is mean say distance?

But your error was about the item.

1 Like

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:

1 Like

Thanks a lot it worked (200000)

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.