Hello everyone, I'm currently stuck on exercise 9/15,' converting between symbols and strings'.
I have tried multiple things and I cannot figure out what is wrong. I have posted my code below.
"Oops, try again. It looks like you didn't add each symbolized string to the symbols array."
Can someone hint me at what's wrong?
Thanks in advance for your trouble.
symbols =  strings.each do |x| if x.include? "S" symbols.push(x.to_sym) end end print symbols