December 2000
Intermediate to advanced
816 pages
16h 57m
English
You can think of a string as a Python data type which you can consider as an array or contiguous set of characters between any pair of Python quotation symbols, or quotes. The two most common quote symbols for Python are the single quote, a single forward apostrophe ( ' ), and the double quotation mark ( " ). The actual string itself consists entirely of those characters in between and not the quote marks themselves.
Having the choice between two different quotation marks is advantageous because it allows one type of quote to serve as a string delimiter while the other can be used as characters within the string without the need for special escape characters. ...
Read now
Unlock full access