Whether String Is Immutable or Mutable #5 | String Tutorials | Python Programming | SDP Guruji

Publicado em: 04 Dezembro 2020
no canal de: SDP Guruji
99
21

Strings in Python, Python Strings Tutorials, Python Tutorials, Python for Beginners, How to check String is Immutable or Mutable, String in Hindi, Python Programming, Python Tutorials in Hindi
Greetings Viewers,
In the series of programming, in this tutorial, we will see whether strings are immutable or
mutable.
What is meant by immutable? Are strings immutable?
Immutable objects cannot be modified or changed.
Strings are immutable. They can only update by concatenation or assigning desired new string
to the same variable
Example:
my_str = “Viewers”
my_str[2] = “a” //modification will raise a TypeError
print(my_str)
Output:
TypeError
Practice!
Make sure that you didn’t miss this crucial and easy part.
Thank You!
N Yess !! Don’t hesitate to share your precious suggestions/feedbacks!! Get your all doubts crystal
clear!!
-----------------------------------------------------------------------------------------------------------------------------------

If you have missed anything regarding python, surf through these links below:

Concatenation and Overriding in String:    • Concatenation and Overriding in Strin...  

Errors in String Declaration:    • Type Error and Index Error in String ...  

String Slicing in Python:    • How to Access Python String Character...  

How to Store String in Variable:    • Python String #1 | String Theory | Ho...  

NameError in Python:    • NameError in Python #10 | Exception H...  

KeyError in Python:    • KeyError in Python #9 | Exception Han...  

ImportError in Python:    • ImportError in Python #8 | Exception ...  

AttributeError In Python:    • AttributeError In Python #7 | Excepti...  

--------------------------------------------------------------------------------------------------------------------------------------


You’ll also find us here!!


Website: https://sdpguruji.in/

Play Store App: https://play.google.com/store/apps/de...

Instagram:   / sdpguruji  

Facebook:   / sdp.guruji.3  

LinkedIn:   / sdpguruji  

Telegram: https://t.me/sdpguruji
--------------------------------------------------------------------------------------------------------------------------------------
For more such informative Python videos,
colour the thumbs up button blue, share the videos, and yes don’t forget to hit the subscribe button and press the bell icon for remainders.
Stay Tuned!!!

#SDPGuruji
#sdpguruji
#strings
#pythonstring
#mutable
#immutable
#pythontutorials
#stringsinpython
#pythonprogramming
#PythonSDPGuruji
#PythonTutorial
#Hindi


Nesta página do site você pode assistir ao vídeo on-line Whether String Is Immutable or Mutable #5 | String Tutorials | Python Programming | SDP Guruji duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário SDP Guruji 04 Dezembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 99 vezes e gostou 21 espectadores. Boa visualização!