mirror of https://github.com/python/cpython
Fix 'primes 0 1'
This commit is contained in:
parent
4271ecaf72
commit
ab6d373aa0
|
@ -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…
Reference in New Issue