python verifique se o valor na string
def is_value_in_string(value: str, the_string: str):
return value in the_string.lower()
DeuxAlpha
def is_value_in_string(value: str, the_string: str):
return value in the_string.lower()
if var == 'stringone' or var == 'stringtwo':
do_something()
if (var is 'stringone') or 'stringtwo':
dosomething()