Skip to content

Commit 4a6894c

Browse files
committed
Added Sieve of Eratosthenes for finding primes
1 parent 664b352 commit 4a6894c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

other/FindingPrimes.py

-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@ def SOE(n):
1616
for i in range(n+1):
1717
if(sieve[i] == True):
1818
print(i, end=" ")
19-
20-
n = int(input("Enter a positive number\n"))
21-
SOE(n)

0 commit comments

Comments
 (0)