Pergunta de entrevista da empresa DXC Technology

they asked me how to write the code for fibonacci series and explain it?