vectorize for loop octave code example
Example 1: python for loop backwards
for i in range(len(item)-1, -1, -1):
print(item[i])
Example 2: one-line for loop python
[thing for thing in list_of_things]
for i in range(len(item)-1, -1, -1):
print(item[i])
[thing for thing in list_of_things]