5 Ways to Find the Index of a Substring in Python | Built In
Python String Substring | DigitalOcean
Python: Find the first appearance of the substring 'not' and 'poor' from a given string, if 'not' follows the 'poor', replace the whole 'not'...'poor' substring with 'good'. Return the resulting string -
12 Ways To Check If Python String Contains Substring - Python Guides