Current sensing and LED-bar - logic failure

I got this from an example sketch the seller provided and it's working fine.

I am surprised to hear that.

What would you expect to be printed by this program ?

void setup()
{
  Serial.begin(115200);
  for (int i = 10; i <= 10;)
  {
    Serial.println(i);
    delay(1000);
  }
}

void loop()
{
}