12. Try It Out!


Why does it say that I am wrong? I don't understand it.The instructions are:

Use the .each method on the odds array to print out double the 
value of each item of the array. In other words, multiply each item by 2.

Make sure to use print rather than puts, so your output appears on one line.

The starting code is:

odds = [1,3,5,7,9]

# Add your code below!

Please answer. Thank you!


Please post your code so we can help answer that.


Oops, sorry for not being more thorough. The problem is that I don't understand the instructions they give me to do.


Using the each iterator that you just learned about in exercise 11, multiply each number in that array by two and print the result.