from typing import List


def format_questions(heading: str, questions: List[str]) -> str:
    """Formats question list with given heading."""
    new_line = '\n'
    return(
        f"{heading}:\n"
        f"{(len(heading) + 1) * '-'}\n"
        f"{new_line.join(questions)}\n\n"
    )