SyntaxFix
Write A Post
Hire A Developer
Questions
Here's one way:
if string1.lower() in string2.lower(): ...
For this to work, both string1 and string2 objects must be of type string.
string1
string2
string