4
Stringing You Along
The world is all gates, all opportunities, strings of tension waiting to be struck.
This chapter builds on our discussion of strings in section 2.2. It may help if you think about the similarities between lists of items and strings of characters, but you must remember that strings are not mutable.
Topics covered in this chapter
4.1 Single, double, and triple quotes
You may use single quotes or double quotes to delimit a literal string. Python usually prints a string with single ...
Get Dancing with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.