def get_authors() -> str:
    """Ask for an author until nothing is entered."""
    authors = []
    while True:
        author = input("Author: ")
        if not author:
            break
        authors.append(author.title())
    return ' and '.join(authors)