Cognizant interview question

Strings in python and Fibonacci series