Jak sprawdzić, czy w łańcuchu jest słowo w Pythonie
>>> str = "Messi is the best soccer player"
>>> "soccer" in str
True
>>> "football" in str
False
Misty Macaw
>>> str = "Messi is the best soccer player"
>>> "soccer" in str
True
>>> "football" in str
False