for next loop?

New to this.
what am I doing wrong?

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}

void loop() {
// put your main code here, to run repeatedly:
delay(1000);
Serial.print("START");
Serial.print('\n');

for (int L = 0; L > 10 ; L++) {
delay(500);
Serial.print(L);
Serial.print('\n');
}
}
should print START
1
2
3
ect

Only prints
START
START
START

Help
Bob

Your problem is here.
it should be L < 10

  for (int L = 0; L > 10 ; L++)

should print START
0
1
2
3
etc.

Fixed that for you

Please remember to use code tags when posting code.

 for (int L = 0; L > 10 ; L++) {

Start with L at 0, and while L is greater than 10... Well it fails that on the first test so it never runs what's in the for loop. 0 isn't greater than 10.

Delta_G:

 for (int L = 0; L > 10 ; L++) {

Start with L at 0, and while L is greater than 10... Well it fails that on the first test so it never runs what's in the for loop. 0 isn't greater than 10.

Nor will L be greater than 10, as such the for loop will never execute.

Change L > 10 to L < 10

Romonaga:
Nor will L be greater than 10, as such the for loop will never execute.

That's what delta_g said in the previous post.

  Serial.print("START");
  Serial.print('\n');

can be shortened to

  Serial.print("START\n");

or

  Serial.println("START");