def find_antonyms(tree):
    """prints the antonyms for a given word"""
    antonyms = []
    antonyms_html = tree.find('div', {'class':
        'card-box small-box related-box end'})
    if antonyms_html:
        antonyms_html = antonyms_html.find('div', {'class': 'definition-block'}
            )
        antonyms_str = antonyms_html.get_text()
        antonyms_str = antonyms_str[antonyms_str.find('Antonyms') + len(
            'Antonyms '):antonyms_str.find('Related Words')]
        antonyms.append(antonyms_str)
    return antonyms
