mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
remove duplicated paragraph in the tutorial
This commit is contained in:
parent
174c4f897f
commit
ea4dcd33e5
1 changed files with 0 additions and 7 deletions
|
@ -240,13 +240,6 @@ would print:
|
||||||
This is a rather long string containing\n\
|
This is a rather long string containing\n\
|
||||||
several lines of text much as you would do in C.
|
several lines of text much as you would do in C.
|
||||||
|
|
||||||
The interpreter prints the result of string operations in the same way as they
|
|
||||||
are typed for input: inside quotes, and with quotes and other funny characters
|
|
||||||
escaped by backslashes, to show the precise value. The string is enclosed in
|
|
||||||
double quotes if the string contains a single quote and no double quotes, else
|
|
||||||
it's enclosed in single quotes. (The :keyword:`print` statement, described
|
|
||||||
later, can be used to write strings without quotes or escapes.)
|
|
||||||
|
|
||||||
Strings can be concatenated (glued together) with the ``+`` operator, and
|
Strings can be concatenated (glued together) with the ``+`` operator, and
|
||||||
repeated with ``*``::
|
repeated with ``*``::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue