This assignment is required to be executed in python programming language. See the code below.
# taking two sentence as input s1 = input() s2 = input()
# getting the words in both sentences in list w1 = s1.split() w2 = s2.split() # looping through the word lists and checking if they are equal or not for i in range(len(w1)):
# printing word pairs if they are not equal
if (w1[i] != w2[i]):
print(w1[i],w2[i])
Learn more about python programming language at;
https://brainly.com/question/26497128
#SPJ1