12. try it out


#1

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

# Add your code below!
odds.each do |odds *2 |
prints "odds"
end

here my code what am i doing wrong?


#2

you can't multiply here: |odds *2 |, instead you want to define your arguments for in the function:

odds.each do | odd |

then, inside this loop, use print or puts (not prints) to print odd times two


#3

yeah man thanks alot i had figured it out right after i posted this lol