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