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