All Subjects
Light
A string is a sequence of characters enclosed within single, double, or triple quotes in Python. It is an immutable data type used for storing text.
congrats on reading the definition of string. now let's actually learn it.
List: A mutable collection of items which can be of different types, defined using square brackets [].
Tuple: An immutable ordered collection of items, defined using parentheses ().
.split(): .split() is a string method used to divide a string into a list based on a specified delimiter.