In my code below, I used startswith() method to find out if an argument has word "sales" in it or not. However, it only checks if it starts with the word. How can I capture all the argument that has word "sales" in it? (regardless starts with, ends with, or in the middle)
def isSales(job):
a = job.lower()
if a.startswith('sales'):
return 'True'
Thank you.