September 2013
Intermediate to advanced
350 pages
9h 38m
English
In this chapter, you learned the following:
Python uses type str to represent text as sequences of characters.
Strings are created by placing pairs of single or double quotes around the text. Multiline strings can be created using matching pairs of triple quotes.
Special characters like newline and tab are represented using escape sequences that begin with a backslash.
Values can be printed using built-in function print, and input can be provided by the user using built-in function input.
Read now
Unlock full access