Skip to content

Chapter 11: String Manipulation

Strings can be manipulated in various ways, such as slicing, concatenation, and formatting.

Example

Python
name = "Alice"
print(name.upper())  # Outputs: ALICE