This video explain about few very important string function in python
#replace
#join
#split
#strip
Theory:
replace('old','new')
s='python is easy to learn'
s1=s.replace('easy','difficult')
print(s1)
'python is difficult to learn
join():
-------
l=['python','is','easy','to','learn']
s=' '.join(l)
print(s)
split():
---------
s='python is easy to learn'
l1=s.split()
print(l1)
----------------
strip()
s=' python '
strip()
lstrip()
rstrip()
print(s.strip())
Important video:
python installation :
https://www.youtube.com/watch?v=8tLHm...
python identifiers:
https://www.youtube.com/watch?v=DnfZJ...
python inbuild function:
https://www.youtube.com/watch?v=IrdCq...
python string data type:
https://www.youtube.com/watch?v=ejuES...
Python slice:
https://www.youtube.com/watch?v=hD1s1...
Mathematical operator:
• #7 | Python Programming Tutorial | Mathema...
string function:
• #8 | Python Programming Tutorial | Compari...
Follow in below link:
/ codelikecoder
/ codelikecoder
Sur cette page du site, vous pouvez voir la vidéo en ligne #9 | Python Programming Tutorial | split() , join() and strip() in string | replace() durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code Like Coder 09 janvier 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 198 fois et il a aimé 25 téléspectateurs. Bon visionnage!