[SOLVED]How are you supposed to covert the letter 's' into a symbol?



9.Converting Between Symbols and Strings

I'm not sure how you are supposed to covert all the 's' 's in strings into a symbol. Can someone please help and explain how to do it?
Thanks :slight_smile:

My code so far:

strings = ["HTML", "CSS", "JavaScript", "Python", "Ruby"]

# Add your code below!
symbols = []
strings.each do |strings|
#The rest of the code will go here


Hello @chikmii,

You san convert is to a symbol by using Ruby's .to_sym method.


Thanks! This helped alot!