I want to execute the first 20 entries of the Fibonacci Sequence.
Like this 1,1,2,3,5,8.... with 4 entries per line.
I tried the following code:
def fib(n):
a, b = 0, 1
while a < n:
print(a, end=' ')
a, b = b, a+b
print()
fib(20)