📄️ Introduction to Strings
We mentioned strings in the Variables and Data Types section, but now we'll explore them in more depth. Strings are sequences of characters used to represent text. They are immutable, meaning once a string is created, its contents cannot be changed.
📄️ String Creation and Indexing
String Creation
📄️ String Slicing
Learn how to extract substrings from strings using slicing in Python.
📄️ String Methods
Learn about the most commonly used string methods in Python for text manipulation.
📄️ String Concatenation
Learn how to combine strings using concatenation in Python.
📄️ String Formatting
Learn how to format strings in Python using the `format()` method and f-strings.
📄️ String Immutability
Learn about string immutability in Python, including its implications and best practices.
📄️ Escape Characters
Learn how to escape characters in Python.
📄️ Multiline Strings
What Are Multi-line Strings?