Oops, try again. It looks like your code doesn't print out "I love Ruby!"


#1



It prints out "I love Ruby !" first then "I love Espresso !" and then "I love candy !", but my error says that I didn't print out "I love Ruby!"


favorite_things = ["Ruby", "espresso", "candy"]

puts "A few of my favorite things:"

favorite_things.each do |thing|
  puts "I love #{thing} !"
end


#2

HI here

puts "I love #{thing} !"

remove the space between #{thing} and !


#3

I got it to work. Had a space between last word and exclamation mark.


#4

I had the same problem, I couldn't pass this step with a space between #{thing} and ! ....