Introduction
String is a data type in python, which is used
to handle array of characters. String is a sequence of Unicode characters that
may be a combination of letters, numbers, or special symbols enclosed within
single, double or even triple quotes.
Example
‘Welcome to learning Python’
“Welcome to learning Python”
‘‘‘ “Welcome to learning Python”
’’’
In python, strings are immutable, it means,
once you define a string, it cannot be changed during execution.
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.