I've written this code that makes sense to me but it doesn't seem to work no matter what. This is what I've got:
def fib(places)
a = 0
b = 1
while a < places do
puts a + "\n"
a = b
b = a + b
end
end
puts fib(1000)