Is there a way to compare between strings so that uppercase and lowercase letters will be considered as the same letter?
For example, that 'ABC' == 'abc
will result true
Is there a way to compare between strings so that uppercase and lowercase letters will be considered as the same letter?
For example, that 'ABC' == 'abc
will result true
Simple solution would be to convert both values to lower or upper case and make comparison if the are equal.
string1, string2 = "ABC", "abc"
string1.lower() == string2.lower()