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