Guest User

Untitled

a guest
Apr 26th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. a.each_with_index do |array, index|
  2. left_right += array[index]
  3. right_left += array[-index-1]
Add Comment
Please, Sign In to add comment