Infosys interview question

write a code for Fibonacci series