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
En esta página del sitio puede ver el video en línea Whether String Is Immutable or Mutable #5 | String Tutorials | Python Programming | SDP Guruji de Duración hora minuto segunda en buena calidad , que subió el usuario SDP Guruji 04 diciembre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 99 veces y le gustó 21 a los espectadores. Disfruta viendo!