Dell Technologies interview question

Write a code in python snippet to generate the Fibonacci sequence.