<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"""A demonstration of the join method"""
num_words = 5
sep = ', '

words = []
for _ in range(5):
    word = input('Enter a word: ')
    words.append(word)
words = sep.join(words)

print('the words you entered were:')
print(words)
</pre></body></html>