pythonfrom rich.progress import trackfrom typing import Listdef fibonacci(n: int) -> List[int]:"""Compute the Fibonacci sequence up to n."""fib = [0, 1]for i in track(range(2, n+1), description='Computing Fibonacci Sequence...'):fib.append(fib[i-1] + fib[i-2])return fib# Displaying the 10th Fibonacci sequenceif __name__ == '__main__':n = 10sequence = fibonacci(n)print(f"The {n}th Fibonacci sequence: {sequence}")