Ответ:
n = int(input())
def simplify(k):
for i in range(1,k):
if k % i == 0 and i != 1:
return False
return True
for i in range(2,n):
if simplify(i):
print(i)
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
n = int(input())
def simplify(k):
for i in range(1,k):
if k % i == 0 and i != 1:
return False
return True
for i in range(2,n):
if simplify(i):
print(i)
Объяснение: