mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merged revisions 75346 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75346 | mark.dickinson | 2009-10-11 10:35:57 +0100 (Sun, 11 Oct 2009) | 1 line Fix 'primes 0 1' ........
This commit is contained in:
parent
edbc50cd0e
commit
0caa5766a3
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
# Print prime numbers in a given range
|
||||
|
||||
def primes(min, max):
|
||||
if 2 >= min:
|
||||
if max >= 2 >= min:
|
||||
print(2)
|
||||
primes = [2]
|
||||
i = 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue