AI says my code doesn't work but it works just fine on my machine?