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 -
Difference Between replace() and replaceAll() in Java - Javatpoint
Python replace() function | Why do we use Python String replace() function
Python Replace Character in String | FavTutor
Python String Replace | Examples and Functions of Python String Replace