python how to make an if statement case insensitive code example Example: how to make a string case insensitive in python if thing.lower() == "text":