Question: Well-documented Jupyter Notebook script (.ipynb) should be included using python for the codes. Design and implement a function common_letters(words_list) that returns a list of letters

Well-documented Jupyter Notebook script (.ipynb) should be included using python for the codes.
Design and implement a function common_letters(words_list) that returns a list of letters that appear in all the words of words_list. Requirements: - Uppercase and lowercase letters are considered the same. - The result must be in uppercase, sorted alphabetically and have no duplicates. For example: words_list =[ "McDonalds", "HappyMeal", "LemonTea"] print(f"Result: { common_letters(words_list) } ") Result: ['A', 'L', 'M'] Explanation: The letters that appeared in all three words are 'A', ' L ' and ' M ' as highlighted: McDonalds,HappyMeal,LemonTea.. (20 marks) Given the following 5 test cases, print the results from your function using this code: for t in cases: print(f"Result: {common_letters(t)}) (J 111a1Ks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
