Dell Technologies Interview Question

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