0
MMahendra Kumar
Python program to compare strings ignore-case
0 Comments
# first string string1 = 'KNOW PROGRAM' # second string string2 = 'Know Program' # check strings are same using lower() function if(string1.lower() == string2.lower()): print('The strings are the same.') else: print('The strings are not the same.')