Function to check whether two sentences can be made equal by inserting at most one sentence in one of them
def areSimilar ( S1 , S2 ) : NEW_LINE INDENT S1 = [ i for i in S1 ] NEW_LINE S2 = [ i for i in S2 ] NEW_LINE DEDENT