I have a really hard time finding the right solution for the following question:
How would you write in Ruby the necessary code to Concatenate an array [“Dog”,"Cat, “Bird”] with the respective index? ex “1-Dog” , “2-Cat”
I’m a very beginner who just finished the basic Ruby course on Codecademy. Can anyone help with this peace of code?