Ответ:
import math as m
a = int(input())
b = 2
c = m.sqrt(a)
while b <= c:
if a % b == 0:
print("True")
exit()
b += 1
print("False")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
import math as m
a = int(input())
b = 2
c = m.sqrt(a)
while b <= c:
if a % b == 0:
print("True")
exit()
b += 1
print("False")