Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0caa576

Browse files
committed
Merged revisions 75346 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r75346 | mark.dickinson | 2009-10-11 10:35:57 +0100 (Sun, 11 Oct 2009) | 1 line Fix 'primes 0 1' ........
1 parent edbc50c commit 0caa576

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Demo/scripts/primes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Print prime numbers in a given range
44

55
def primes(min, max):
6-
if 2 >= min:
6+
if max >= 2 >= min:
77
print(2)
88
primes = [2]
99
i = 3

0 commit comments

Comments
 (0)