ред python съдържа
>>> str = "Messi is the best soccer player"
>>> "soccer" in str
True
>>> "football" in str
False
python проверява дали низ е в ред
if "blah" not in somestring:
continue
python проверява, има ли значение в ред
def is_value_in_string(value: str, the_string: str):
return value in the_string.lower()