python
from rich.progress import track
from typing import List
def 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 sequence
if __name__ == '__main__':
n = 10
sequence = fibonacci(n)
print(f"The {n}th Fibonacci sequence: {sequence}")