Adjust some horizontal indentation to be consistent with the style used

throughout the documentation.
This commit is contained in:
Fred Drake 2003-08-16 06:30:47 +00:00
parent 1954035a47
commit 236ffba400
1 changed files with 4 additions and 4 deletions

View File

@ -1234,11 +1234,11 @@ which searches for prime numbers:
>>> for n in range(2, 10):
... for x in range(2, n):
... if n % x == 0:
... print n, 'equals', x, '*', n/x
... break
... print n, 'equals', x, '*', n/x
... break
... else:
... # loop fell through without finding a factor
... print n, 'is a prime number'
... # loop fell through without finding a factor
... print n, 'is a prime number'
...
2 is a prime number
3 is a prime number