Function For Fibonacci Sequence Python Logic