from typing import Any


def affix(orig: Any, ch: str) -> str:
    """Ensure a given character is prepended to some original value."""
    if isinstance(orig, (list, tuple,)):
        orig = '.'.join(map(str, orig))
    return '%s%s' % (ch, str(orig).lstrip(ch))