python search for string in text ignore case code example
Example: python string match ignore case
if firstStr.lower() == secStr.lower():
print('Both Strings are same')
else:
print('Strings are not same')
if firstStr.lower() == secStr.lower():
print('Both Strings are same')
else:
print('Strings are not same')