human
Check if summation of two words is equal to target word | Function to check weather summation of two words equal to target word.
Store the length of each string.
Reverse the strings A , B and C.
Stores the remainder.
Iterate in the range [ 0 , max ( L , max ( M , N ) ) ].
Stores the integer at ith position from the right in the sum of A and B.
If i is less than L.
If i is less than M.
Update rem and curr.
If i is less than N and curr is not equal to C [ i ] - ' a ' , return " No ".
If rem is greater than 0 , return " No ".
Otherwise , return " Yes ".
Driver Code.
Given Input.
Function Call"
Solution in Python:

What is a code to check if summation of two words is equal to target word and the other steps required?
assistant
#Here is code to check if summation of two words is equal to target word and the other steps required.
 def isSumEqual ( A , B , C ) :
	L = len ( A )
	M = len ( B )
	N = len ( A )
	A = A [ : : - 1 ]
	B = B [ : : - 1 ]
	C = C [ : : - 1 ]
	rem = 0
	for i in range ( max ( L , max ( M , N ) ) ) :
		curr = rem
		if ( i < L ) :
			curr += ord ( A [ i ] ) - ord ( ' a ' )
		if ( i < M ) :
			curr += ord ( B [ i ] ) - ord ( ' a ' )
		rem = curr // 10
		curr %= 10
		if ( i < N and curr != ord ( C [ i ] ) - ord ( ' a ' ) ) :
			return " No "
	if ( rem ) :
		return " No "
	else :
		return " Yes "
if __name__ == ' _ _ main _ _ ' :
	A = " acb "
	B = " cba "
	C = " cdb "
	print ( isSumEqual ( A , B , C ) )