revert last revision; code was right

This commit is contained in:
Benjamin Peterson 2008-08-02 03:05:11 +00:00
parent 1af6fb5298
commit 80790287ab
1 changed files with 3 additions and 3 deletions

View File

@ -138,9 +138,9 @@ following loop, which searches for prime numbers::
... if n % x == 0:
... print n, 'equals', x, '*', n/x
... break
... else:
... # loop fell through without finding a factor
... print n, 'is a prime number'
... else:
... # loop fell through without finding a factor
... print n, 'is a prime number'
...
2 is a prime number
3 is a prime number