0

I'm trying to write a function that returns:

['cat', 'cot', 'cut']

When passed this list:

['c', 'aou', 't']

But would also return:

['cats', 'catz', 'cots', 'cotz', 'cuts', 'cutz']

When passed:

['c', 'aou', 't', 'sz']
noj
  • 1
  • 1

0 Answers0