> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/programming_tasks/l/loop_over_multiple_arrays_simultaneously.md).

# Loop over multiple arrays simultaneously

The simplest way is by using the `Array.zip()` method:

```ruby
[%w(a b c),%w(A B C),%w(1 2 3)].zip { |i,j,k|
    say (i, j, k)
}
```

#### Output:

```
aA1
bB2
cC3
```
