Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84c4b0c

Browse files
csabellaMariatta
authored andcommitted
bpo-25059: Clarify the print separator usage in tutorial (pythonGH-5879)
By default `print` adds spaces between its arguments.
1 parent a19fb3c commit 84c4b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/inputoutput.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Here are two ways to write a table of squares and cubes::
100100
10 100 1000
101101

102102
(Note that in the first example, one space between each column was added by the
103-
way :func:`print` works: it always adds spaces between its arguments.)
103+
way :func:`print` works: by default it adds spaces between its arguments.)
104104

105105
This example demonstrates the :meth:`str.rjust` method of string
106106
objects, which right-justifies a string in a field of a given width by padding

0 commit comments

Comments
 (0)