def snake_to_pascal(string: str) -> str:
    """
    Converts snake-case to pascal-case.
    >>> snake_to_pascal(string="hello_and_good_morning") # Returns "HelloAndGoodMorning"
    """
    words = string.split('_')
    words_capitalized = list(map(str.capitalize, words))
    return "".join(words_capitalized)