Add tutorial section about coding style.

This commit is contained in:
Georg Brandl 2008-01-06 22:05:40 +00:00
parent e9766c8acb
commit 35f8861386
2 changed files with 52 additions and 5 deletions

View file

@ -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