<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># Prompts the user for a word and outputs the list of
# all subwords of the word of height 1.
#
# Written by *** for COMP9021


def extract_subwords(word):
    pass
    # Replace pass above with your code

word = input('Enter a word: ')
print('The subwords of "{:}" of height 1 are:\n    {:}'.
                                        format(word, extract_subwords(word)))
</pre></body></html>