diff options
Diffstat (limited to 'Demo')
-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 65da42e..d296f0e 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 |