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


#1



https://www.codecademy.com/courses/ruby-beginner-en-Qn7Qw/1/4?curriculum_id=5059f8619189a5000201fbcb#

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


#2

Hello @chikmii,

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


#3

Thanks! This helped alot!