oh my- sigh just saw it
And now theres another error.
In this While True you have if coin.distance < nearestDisctance
Yeah i saw it. I changed coin to nearest
Can you post your code.
why would you change it to nearest?You did not define it yet.Remember on this line
you defined distance to nearest.Why not use it?