Create a Python script that generates the Fibonacci sequence.
def fibonacci(n):
    if n <= 1:
        return n
    else:
        return fibonacci(n - 1) + fibonacci(n - 2)

for n in range(10):
    print(fibonacci(n))