Below is the code of a program that that finds word differences between two sentences by using Python programming language.
Coding Part:
class Solution(object):
def findTheDifference(self, s, t):
ls_si = [si[i] for i in range(len(si))]
ls_ti = [ti[i] for i in range(len(ti))]
for elem in ls_s:
ls_t.remove(elem)
return(ls_t[0])
obj = Solution()
s = "zxyc"
t = "zxyce"
print(obj.findTheDifference(s, t)
What is Python Programming?
Python is a well-known all-purpose programming language. It's used in machine learning, web development, desktop applications, and a variety of other applications. Python, fortunately, has a simple, easy-to-use syntax for beginners. Python is therefore an excellent language for beginners to learn.
To know more about Python Programming, visit: https://brainly.com/question/26497128
#SPJ4