* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
10 lines
964 B
Markdown
10 lines
964 B
Markdown
# Working with Strings
|
|
|
|
Strings in Python are sequences of characters used to represent text. You can create them by enclosing characters within single quotes, double quotes, or triple quotes. Once created, strings are immutable, meaning their values cannot be changed directly. Common operations include accessing individual characters using indexing, slicing to extract substrings, concatenating strings using the `+` operator, and using built-in methods to manipulate and format the text they contain.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@official@string — Common string operations](https://docs.python.org/3/library/string.html)
|
|
- [@article@Python Print New Line: Methods, Examples, and Best Practices](https://roadmap.sh/python/print-new-line)
|
|
- [@article@Python Multiline Strings: The Complete Guide](https://roadmap.sh/python/multiline-strings)
|
|
- [@video@String methods in Python are easy 〰️](https://www.youtube.com/watch?v=tb6EYiHtcXU) |