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
In questa pagina del sito puoi guardare il video online #9 | Python Programming Tutorial | split() , join() and strip() in string | replace() della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Like Coder 09 gennaio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 198 volte e gli è piaciuto 25 spettatori. Buona visione!