Some of the previous exercises with loops and this one with the .each method are outputting totally unreasonable numbers in the terminal. For example, the code below (taken from ‘hint’) outputs “26101418” in the terminal. Also does that in local irb test. What is wrong with this code?
odds = [1, 3, 5, 7, 9] # Add your code below! odds.each do |odd| print odd*2 end