#variable = [ array ]. odds = [1,3,5,7,9] #each number is to be multiplied by 2, Then the multiplied numbers are shown. odds.each do |x| x *= 2 print "#{x}" end

I am seeing most of this and getting it. However, the "||" confused me. where

odds.each do |x|I understand

odds.each dobut the

|x|, I am not sure what I am declaring, is it telling each number to be first sent through the x before print? So I declare

|x|then show the computer to make

x *= 2which I am assuming in English is saying that "x" will be a multiplier of two. So then when

print "#{x}"is stated, I am gathering that it is now going to output the odd numbers after they have been multiplied by the

x *= 2. the output is also confusing:

26101418[1, 3, 5, 7, 9]

I see the end result of the

x *= 2but then it also shows [1, 3, 5, 9] I can't understand why it also displayed this.

Thank you for any help in understanding this. I want to really get it before I decided to move forward.