"""author: @pythonpips"""

s = 'Who is you? How is you?'

s.replace('is', 'are') # Who are you? How are you?
How to Replace a Word with Given Input in Python

Subscribe to our newsletter