if string contains certain word python code example
Example: python check if value in string
def is_value_in_string(value: str, the_string: str):
return value in the_string.lower()
def is_value_in_string(value: str, the_string: str):
return value in the_string.lower()