```python
def pad_code(code: str, width: int) -> str:
    """A code padded with zeros on its left until it reaches a fixed width."""
    return code.rjust(width, "0")
```