mirror of https://github.com/python/cpython
expressions -> arguments
This commit is contained in:
parent
5246f66e5e
commit
0781900068
|
@ -600,12 +600,12 @@ This example introduces several new features.
|
|||
guess when you have typed the last line). Note that each line within a basic
|
||||
block must be indented by the same amount.
|
||||
|
||||
* The :func:`print` function writes the value of the expression(s) it is
|
||||
given. It differs from just writing the expression you want to write (as we did
|
||||
earlier in the calculator examples) in the way it handles multiple
|
||||
expressions, floating point quantities,
|
||||
and strings. Strings are printed without quotes, and a space is inserted
|
||||
between items, so you can format things nicely, like this::
|
||||
* The :func:`print` function writes the value of the argument(s) it is given.
|
||||
It differs from just writing the expression you want to write (as we did
|
||||
earlier in the calculator examples) in the way it handles multiple arguments,
|
||||
floating point quantities, and strings. Strings are printed without quotes,
|
||||
and a space is inserted between items, so you can format things nicely, like
|
||||
this::
|
||||
|
||||
>>> i = 256*256
|
||||
>>> print('The value of i is', i)
|
||||
|
|
Loading…
Reference in New Issue