import typing


def pad_to_longest(strings: typing.List[str]) -> typing.List[str]:
    """Space pad a list of strings to the same length."""

    length = max(len(s) for s in strings)
    return [s.ljust(length) for s in strings]