English

What is String?

Advertisements

Question

What is String?

Short/Brief Note
Advertisements

Solution

The string is a data type in python, which is used to handle an array of characters. The 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”

shaalaa.com
Concepts of Strings in Python
  Is there an error in this question or solution?
Chapter 8: Strings and String manipulation - Evaluation [Page 130]
Advertisements
Share
Notifications



      Forgot password?
Use app×