There is one way to iterate over things, for any kind of elementwise processing: a `for` loop.
There is one way to format your code ;)
There is one way to format your code ;)
Still less than Java's five (do-while, while, C-style for, range for, recursion), to be fair.