Advertisements
Advertisements
प्रश्न
Do you modify a string in Python?
टीपा लिहा
उत्तर
- No, because strings in python are immutable.
- That means once you define a string, modifications or deletion are not allowed.
- If we want to modify the string, a new string value can be assigned to the existing string variable.
shaalaa.com
Introduction to Strings
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?