diff options
-rwxr-xr-x | Demo/scripts/primes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/scripts/primes.py b/Demo/scripts/primes.py index eeb14ee..2bf5ba2 100755 --- a/Demo/scripts/primes.py +++ b/Demo/scripts/primes.py @@ -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 |