Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
262fd60e
Commit
262fd60e
authored
Jan 20, 2013
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expressions -> arguments
parent
aa91a795
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Doc/tutorial/introduction.rst
Doc/tutorial/introduction.rst
+6
-6
No files found.
Doc/tutorial/introduction.rst
View file @
262fd60e
...
...
@@ -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 quantiti
es,
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 quot
es,
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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment