<prompt> Kujenga kazi ambayo inachukua koma-kujitenga string input na anarudi maneno ambayo yanaonekana katika kamba zote mbili.  <response>: Sure, here is a function in Python that can achieve this:pythondef common_wordsstring: Split the string by comma words string.split, Initialize an empty list to store the result result Iterate through the words list, checking for common words for word in words: if the word appears more than once, it means that it is common if words.countword 1: If the common word is not already in the result list if word not in result: append to result result.appendword Return the result return resultYou can now call this function by passing in a comma-separated string as a parameter, like so:pythoncommon_string apple, banana, orange, banana, grapes, appleresult common_wordscommon_stringprintresult apple, bananaThis function takes a comma-separated string as input, split the string by comma to form a list of words, and then iterates through the list, checking for any common words. Any word that appears more than once in the list is considered a common word, and if that word is not already in the result list, it is appended. Finally, the function returns the list of common words. 