Strings are used to store text-based data.

Table of contents
Strings store text
This is a string:
>>> message="This is text"Python strings store text:
>>> message'This is text'How are strings used?
Strings are often used for …
Strings are used to store text-based data.
Table of contents
This is a string:
>>> message="This is text"Python strings store text:
>>> message'This is text'Strings are often used for …