mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
all valid python 3
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import math
|
||||
n = int(raw_input("Enter n: "))
|
||||
n = int(input("Enter n: "))
|
||||
|
||||
def sieve(n):
|
||||
l = [True] * (n+1)
|
||||
@@ -21,4 +21,4 @@ def sieve(n):
|
||||
return prime
|
||||
|
||||
print(sieve(n))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user