How are strings represented in Python 3?
Built-in data types
Audio flashcard · 0:16Nortren·
How are strings represented in Python 3?
0:16
In Python 3, strings are sequences of Unicode code points and are stored as immutable objects. Bytes are a separate type for raw binary data. The conversion between them requires explicit encoding and decoding. Python 3 enforces this distinction strictly to avoid ambiguity.
docs.python.org