diff options
Diffstat (limited to 'Demo/scripts/primes.py')
-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 5935a3c..8762fe2 100755 --- a/Demo/scripts/primes.py +++ b/Demo/scripts/primes.py @@ -18,7 +18,7 @@ def primes(min, max): while i <= max: for p in primes: if i%p == 0 or p*p > i: break - if i%p <> 0: + if i%p != 0: primes.append(i) if i >= min: print i i = i+2 |