Python | Method .replace()

Publié le: 06 novembre 2022
sur la chaîne: Drawing with Code
76
18

Learn how to use python .replace() method to save the new replaced text, and to replcase specific characters with a specific occurrence or number of times.
The replace method makes a copy of the text, it does NOT change it.
We have two 10 seconds challenges, or, you can pause and think of the answer:
Quiz 1:
How to change the text (replace some characters with others) and fix the changes?
Quiz 2:
If you have multiple characters, and you want to change the first one only, what to do?

Our Channel: https://www.youtube.com/c/ILovePencil...
Blogger: https://ilpd-ms.blogspot.com/
Instagram:   / m_salah2405  
Patreon:   / msalah  






--------------------------------------------------------------------------------------------------------
#knowledge #python #replace


Sur cette page du site, vous pouvez voir la vidéo en ligne Python | Method .replace() durée online en bonne qualité , qui a été Téléchargé par l'utilisateur Drawing with Code 06 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 76 fois et il a aimé 18 téléspectateurs. Bon visionnage!