开发一个脚本，打印出斐波那契数列。
def fibonacci_sequence(n): 
    # 设置初始值 
    a = 0 
    b = 1  
    if n == 0: 
        return a 
    elif n == 1:
        return b 
    else: 
        # 循环遍历数列 
        for i in range(2,n): 
            c = a + b 
            a = b 
            b = c 
        return b 
  
# 打印数列 
for i in range(10): 
    print(fibonacci_sequence(i), end=" ") 

# 输出: 0 1 1 2 3 5 8 13 21 34