interate through loops into arrays ruby code example Example: ruby loop through array numbers = [0, 1, 2, 3] for element in numbers do puts element end