3 ms·
The for loop runs while $i is less than or equal to 'z'.
by brianpan 16y ago
The for loop runs while $i is less than or equal to 'z'.
- jwr 16y agoAlso, one might wonder why it stops at 'yz' instead of continuing on forever. There is no logic in this insanity — you won't know until you try it out.
- zephyrfalcon 16y agoI think it's because the next value, 'za', is neither equal to 'z' nor "less" than it, so the condition fails, and the loop ends.