def fibon(num): fibseq = [0, 1] for i in range(2, num): fibseq.append(fibseq[-1] + fibseq[-2]) return fibseq fibon(30) print("The Fibonacci Sequence: ", fibon(30))