1)
n = 10
p = 0
while n > 0:
n -=1
p +=1
if n == 5:
break
print(p)
2)
N = int(input())
if N%2 == 0 and N/N == 1:
print('Простое')
else:
print('Непростое')
3)
Рещультат:1
1)
n = 10
p = 0
while n > 0:
n -=1
p +=1
if n == 5:
break
print(p)
2)
N = int(input())
if N%2 == 0 and N/N == 1:
print('Простое')
else:
print('Непростое')
3)
Рещультат:1