Issues about Sand Snakes, python

indent preformatted text by 4 spaces

here are my code, and it tells me nearest is not defined…

Can anyone help me?

What does the error say, exactly? Can you take a picture of the error?

Here is the picture.

Thank you!

The error suggests you haven’t defined target anywhere.

Look on line 13, what is target?


Thank you, Serg!!
It works!

what does it mean by can’t read properly

Are you referring to something in this dead thread from 1 and a 1/2 years ago, or are you having a new problem with this level?

If you are referring to a new issue with your code, you should probably start a new topic and include a screen shot of your error message and use the </> button to post your code. Then people can assist you.