Run
str1 = 'abcd' str2 = 'abcd' if str1 == str2 : print('Both the strings are equal.') else : print('Both the strings are not equal.')
Output