4 ms·
In python it makes sense but when you have `for(let i=0; I<length; I++)` it makes less sense
by jdnenej 7y ago
In python it makes sense but when you have `for(let i=0; I<length; I++)` it makes less sense
- wongarsu 7y ago"for all i smaller than length, starting at 0". It doesn't really map perfectly because in math you usually don't care about the order, so a for loop actually contains more information than the statement it's trying to mimic.