Hi All,
I'm taking programming lessons on Code academy, and I am stuck on the
symbols lesson.
The instructions say :

We have an array of strings we'd like to later use as hash keys, but
we'd rather they be symbols.

Create a new array, symbols.
Use .each to iterate over the strings array and convert each string to a
symbol, adding those symbols to symbols.

They give you :

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

# Add your code below!


Could someone please help me and explain to me why the code is written
the way it is?

Much thanks!

-- 
Posted via http://www.ruby-forum.com/.