Python String Match Ignore Case
if firstStr.lower() == secStr.lower():
print('Both Strings are same')
else:
print('Strings are not same')
Xerothermic Xenomorph
if firstStr.lower() == secStr.lower():
print('Both Strings are same')
else:
print('Strings are not same')
string1 = 'Hello'
string2 = 'hello'
if string1.casefold() == string2.casefold():
print("The strings are the same (case insensitive)")
else:
print("The strings are NOT the same (case insensitive)")