SyntaxFix
Write A Post
Hire A Developer
Questions
If you don't want to use str.lower(), you can use a regular expression:
str.lower()
import re if re.search('mandy', 'Mandy Pande', re.IGNORECASE): # Is True