DXC Technology interview question

Write a code in python to print Fibonacci series using functions