Converting Ruby array into a hash

后端 未结 6 1986
甜味超标
甜味超标 2021-01-29 15:54

I am attempting to write a method named my_transform that takes an array as follows:

items = [\"Aqua\", \"Blue\", \"Green\", \"Red\", \"Yellow\"]
         


        
6条回答
提交回复
热议问题