r/funny • • Jun 09 '12

Pidgonacci Sequence

Post image

[deleted] — view deleted post

1.5k Upvotes

22k comments sorted by

View all comments

Show parent comment

2

u/2sexchangpriceofnone Jul 05 '12

I made one in python.

1

u/pepsi_logic Jul 05 '12

I meant checking the whole sequence with the checker. But nice. Do you just iterate upwards until you hit the number or go above it?

2

u/2sexchangpriceofnone Jul 05 '12

Well, I made it several months ago, and I think I'll have to change it so that it counts the number of iterations (which would be simple) as it currently just displays the current fibonacci number. I'll just have to change it to stop when "i" reaches whatever it is currently.