ответ: python
import random
x = [0]*10
for i in range(len(x)):
x[i] = random.randint(-32, 40)
print(x)
sum = 0
for j in range(len(x)):
if x[j] < 0:
sum += x[j]
print(sum)
ответ: python
import random
x = [0]*10
for i in range(len(x)):
x[i] = random.randint(-32, 40)
print(x)
sum = 0
for j in range(len(x)):
if x[j] < 0:
sum += x[j]
print(sum)