Metal Detector - Python

Hi, could you post your code correctly as it says here? Thanks.

Yigit deleted the solution because posting solutions or requesting them is against the forum. This forum is a place to learn,not to “cheat” or “copy”.

Some people on this forum aren’t in America . . .
Even if they are in America, there are rules and laws you have to obey to be “free”.

The reason we tell people to post their code correctly is because in Python, if you indent the wrong thing, your code won’t work. So we need to see your code formatted correctly in order to help you.