Commit b7c1a94f authored by Cheryl Sabella's avatar Cheryl Sabella Committed by Mariatta

[2.7] bpo-25059: Clarify the print separator usage in tutorial (GH-5879)

By default `print` adds spaces between its arguments.

(cherry picked from commit 84c4b0cc)
parent 76349471
...@@ -101,7 +101,7 @@ Here are two ways to write a table of squares and cubes:: ...@@ -101,7 +101,7 @@ Here are two ways to write a table of squares and cubes::
10 100 1000 10 100 1000
(Note that in the first example, one space between each column was added by the (Note that in the first example, one space between each column was added by the
way :keyword:`print` works: it always adds spaces between its arguments.) way :keyword:`print` works: by default it adds spaces between its arguments.)
This example demonstrates the :meth:`str.rjust` method of string This example demonstrates the :meth:`str.rjust` method of string
objects, which right-justifies a string in a field of a given width by padding objects, which right-justifies a string in a field of a given width by padding
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment