Ответ:
from random import randint
N = int(input())
A = [randint(1, 100) for i in range(N)]
for i in range(1, N-1):
if A[i] % 2 == 0:
A[i] += A[0]
print(*A)
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
from random import randint
N = int(input())
A = [randint(1, 100) for i in range(N)]
for i in range(1, N-1):
if A[i] % 2 == 0:
A[i] += A[0]
print(*A)
Объяснение: