def str_with_tab(indent: int, text: str, uppercase: bool = True) -> str:
    """Create a string with ``indent`` spaces followed by ``text``."""
    if uppercase:
        text = text.upper()
    return " " * indent + text