Source Code:
(back to article)
string1 = "Hello World" string2 = "HELLO WORLD" if string1.upper() == string2.upper(): print("The strings are case-insensitively equal.") else: print("The strings are not case-insensitively equal.")
Result:
Report an issue