# prange { #vscodenb.prange }

```python
vscodenb.prange(n, desc='', persist=False, **kwargs)
```

HTML progress bar for range() in notebooks, tqdm for terminal.
Renders as thin bar matching cpu_monitor.py style.

Args:
    n: The number to iterate up to (like range(n)).
    desc: Description text shown next to the progress bar.
    persist: If False (default), the progress bar disappears after completion.
             If True, the progress bar remains visible in its completed state.
    **kwargs: Additional arguments passed to tqdm (terminal fallback).

Usage:
    for i in prange(100, desc="Processing"):
        process(i)