Negative Sequence Indices in Python - Word Aligned
11/21/2018 · You may notice that the range function works only in ascending order without the third parameter. If you use without the third parameter in the range block, it will not work. for i in range(10,-10) The above loop will not work. For the above loop to work, you have to use the third parameter as negative number. for i in range(10,-10,-1)