Loops and iterators



Oops, try again. It looks like your iterator didn't print out double the value of each item of the odds array. Make sure to multiply each item by 2.

Replace this line with your code.


the idea is to do the multiplying inside the each loop, not directly inside the list/array.


i still dont understand


on line 1 you create a list, on line 3 you create a loop, the idea is to inside the loop (line 4 and 5) multiply placeholder by two (which in turn will hold the items of the array), and then print it.