human
Minimum characters to be deleted from the end to make given two strings equal | Function that finds minimum character required to be deleted.
Iterate in the strings.
Check if the characters are not equal.
Return the result.
Driver code"
Solution in Python:

=====
Write me a code to minimum characters to be deleted from the end to make given two strings equal and the other steps required?
assistant
#Here is code to minimum characters to be deleted from the end to make given two strings equal and the other steps required.
 def minDel ( s1 , s2 ) :
	i = 0 ;
	while ( i < min ( len ( s1 ) , len ( s2 ) ) ) :
		if ( s1 [ i ] != s2 [ i ] ) :
			break ;
		i += 1 ;
	ans = ( ( len ( s1 ) - i ) + ( len ( s2 ) - i ) ) ;
	return ans ;
if __name__ == ' _ _ main _ _ ' :
	s1 = " geeks " ;
	s2 = " geeksfor " ;
	print ( minDel ( s1 , s2 ) ) ;