so I have to make a thing for school, but I can't figure it out. So I have to get the first 30 numbers of the Fibonacci sequence using arrays. The code should be simple, and mine looks something like this.
fib = [0, 1] * 15
for i in range(30):
fib = fib[i-1] + fib[i-2]
print(fib)
Any input is appreciated!