Kaydet (Commit) ab6d373a authored tarafından Mark Dickinson's avatar Mark Dickinson

Fix 'primes 0 1'

üst 4271ecaf
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Print prime numbers in a given range # Print prime numbers in a given range
def primes(min, max): def primes(min, max):
if 2 >= min: if max >= 2 >= min:
print 2 print 2
primes = [2] primes = [2]
i = 3 i = 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment