2 ms·
But slicing 0..len and for (i=0; i< len) are literally the same thing. In [0, len) ')' means less than. As in 0≤ x< len.
by Ygg2 6y ago
But slicing 0..len and for (i=0; i< len) are literally the same thing.
In [0, len) ')' means less than. As in 0≤ x< len.