mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
end is a keyword argument
This commit is contained in:
parent
0781900068
commit
648fa19745
1 changed files with 2 additions and 2 deletions
|
|
@ -611,8 +611,8 @@ This example introduces several new features.
|
||||||
>>> print('The value of i is', i)
|
>>> print('The value of i is', i)
|
||||||
The value of i is 65536
|
The value of i is 65536
|
||||||
|
|
||||||
The keyword *end* can be used to avoid the newline after the output, or end
|
The keyword argument *end* can be used to avoid the newline after the output,
|
||||||
the output with a different string::
|
or end the output with a different string::
|
||||||
|
|
||||||
>>> a, b = 0, 1
|
>>> a, b = 0, 1
|
||||||
>>> while b < 1000:
|
>>> while b < 1000:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue