mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Fix spacing in loop example
This commit is contained in:
parent
5a04aec384
commit
7951f60f45
1 changed files with 3 additions and 3 deletions
|
@ -2060,9 +2060,9 @@ can be paired with the \function{zip()} function.
|
|||
>>> for q, a in zip(questions, answers):
|
||||
... print 'What is your %s? It is %s.' % (q, a)
|
||||
...
|
||||
What is your name ? It is lancelot .
|
||||
What is your quest ? It is the holy grail .
|
||||
What is your favorite color ? It is blue .
|
||||
What is your name? It is lancelot.
|
||||
What is your quest? It is the holy grail.
|
||||
What is your favorite color? It is blue.
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue