Загрузка данных


import string


def get_words(text):
    clean_text = "".join(
        char if char not in string.punctuation else " " for char in text
    )
    return [word.upper() for word in clean_text.split()]