SyntaxFix
Write A Post
Hire A Developer
Questions
The usual approach is to uppercase the strings or lower case them for the lookups and comparisons. For example:
>>> "hello".upper() == "HELLO".upper() True >>>