Question: Please it must be done and comment it in python launguage . Thank you 4. You are given two strings and you need to find
4. You are given two strings and you need to find the uncommon words. A word is uncommon if it appears exactly once in one of the strings and does not appear in the other string. You need to write a function for this task to return a list of uncommon words. Example 1: Input : A = "this apple is sweet", B Output: ["sweet", "sour"1 "this apple is sour" Example 2: Input: A # "apple apple", B- "banana" output: ["banana"]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
