Python string manipulation: How to Find and Replace Words (check description)

Published: 08 July 2020
on channel: Python & Ubuntu
105
5

Detailed Problem Statement:
Let's say that we have a sentence like "John and David are friends. John, although lives on the other side of the town, regularly visit David.". I wish to change it into "Susan and Gina are friends. Susan, although lives on the other side of the town, regularly visit Gina." How can I do that, without re-writing the whole sentence? This video explains that.

*********************************
complete python basics playlist:
https://bit.ly/python_basics_playlist
**********************************

This channel is aimed at being a "GO-TO" channel when you are stuck with Python programming. The advantage of this, instead of googling it is that 1) you can see the output and confirm whether that is what you are looking for 2) You get the explanation of why the code is written in that manner rather than blindly copy-pasting the code from Google.


On this page of the site you can watch the video online Python string manipulation: How to Find and Replace Words (check description) with a duration of hours minute second in good quality, which was uploaded by the user Python & Ubuntu 08 July 2020, share the link with friends and acquaintances, this video has already been watched 105 times on youtube and it was liked by 5 viewers. Enjoy your viewing!