if __name__ == '__main__':
pass
def fib_i(n):
#"Escribe la serie de Fibonacci hasta n."
a, b = 0, 1
while n > 0:
a, b = b, a + b
n -= 1
return a
for i in range(11):
print(fib_i(i),end=' ')
To embed this project on your website, copy the following code and paste it into your website's HTML: