def append_readable_time(readable_time: str, time: int, duration: str) -> str:
    """Appends to the readable_time string with the specified time and duration."""

    if readable_time:
        # Checks if its just one or multiple for proper wording,
        # luckily the -s ending works out for every case.
        return (
            f"{readable_time}, {time} {duration}"
            if time == 1
            else f"{readable_time}, {time} {duration}s"
        )

    return f"{time} {duration}" if time == 1 else f"{time} {duration}s"