2/21 Collect 'Em All


#1

My one - liner
fibs = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]; doubled_fibs = fibs.collect { |fibs| fibs **2 }


#2

You should use multiply ( * ) instead involution ( ** )

fibs = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]

Add your code below!

doubled_fibs = fibs.collect { |i| i * 2 }


#3

That's just there for an Example, now you gave them the answer!