'Julia: Iterating in reverse
Let's say I have the following list:
a = [1, 2, 3, 4, 5]
Instead of stepping through the list from 1 to 5
for i in 1:length(a)
I would like to step through it from 5 to 1. Is there a convenient way to do this in Julia?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
