Topic: Ruby Begginer Help - Arrays
I have an array: fib = [0,1]
What I want to happen is to loop the array to ten, but have every number in the array equal to the 2 numbers preceding. For example: 0 1 2 3 5 8 13 21 34 55
What I have so far is this:
fib = [0,1]
lp = fib * 10
How do I access the array in order to make the calculation on it?