Message120365
Here's a related one if you want to get the sample output really 100% correct. In the last example of Section 3, the output in
{>>> a, b = 0, 1
>>> while b < 1000:
... print(b, end=' ')
... a, b = b, a+b
...
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987}
should have an extra space at the end. (Granted, this is very very minor, but this may make a Python 2.x oldtimer like me wonder if print's end=" " does the same as old Python 2.x's "print b," including suppression of the "softspace".) |
|
Date |
User |
Action |
Args |
2010-11-04 00:44:11 | maltehelmert | set | recipients:
+ maltehelmert, ezio.melotti, docs@python |
2010-11-04 00:44:11 | maltehelmert | set | messageid: <1288831451.29.0.13903656512.issue10304@psf.upfronthosting.co.za> |
2010-11-04 00:44:08 | maltehelmert | link | issue10304 messages |
2010-11-04 00:44:08 | maltehelmert | create | |
|