Delete common elements from two lines of Strings in Python
Sep 4, 2018 · 1 min read
Let,
We have two strings
s1 = “She is a good girl”
s2 = “He is a good boy”
We need to delete the common words from these two strings. Let’s do it:
Let,
We have two strings
s1 = “She is a good girl”
s2 = “He is a good boy”
We need to delete the common words from these two strings. Let’s do it: