mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Add tutorial section about coding style.
This commit is contained in:
parent
e9766c8acb
commit
35f8861386
2 changed files with 52 additions and 5 deletions
|
@ -578,8 +578,8 @@ series as follows::
|
|||
... # the sum of two elements defines the next
|
||||
... a, b = 0, 1
|
||||
>>> while b < 10:
|
||||
... print b
|
||||
... a, b = b, a+b
|
||||
... print b
|
||||
... a, b = b, a+b
|
||||
...
|
||||
1
|
||||
1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue