>>18
text.each_with_index { |l, i| p [i, l] }