Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 659eb84 commit 756fe26Copy full SHA for 756fe26
1 file changed
Doc/tutorial/inputoutput.rst
@@ -163,7 +163,7 @@ Positional and keyword arguments can be arbitrarily combined::
163
164
An optional ``':'`` and format specifier can follow the field name. This allows
165
greater control over how the value is formatted. The following example
166
-truncates Pi to three places after the decimal.
+rounds Pi to three places after the decimal.
167
168
>>> import math
169
>>> print('The value of PI is approximately {0:.3f}.'.format(math.pi))
0 commit comments