python:
from random import randint
D = [21]
for i in range(20):
D.append(randint(-100,100))
print(D)
res = 1
for i in D:
if i <= 10 and i >= -10:
res *= i
print(res)
python:
from random import randint
D = [21]
for i in range(20):
D.append(randint(-100,100))
print(D)
res = 1
for i in D:
if i <= 10 and i >= -10:
res *= i
print(res)