#Python3
a = [] # двухмерный массив
while True:
try:
x = int(input('x = '))
y = int(input('y = '))
break
except:
pass
ls = []
for i in a:
for l in i:
if l > x and l < y:
ls.append(l)
o = 1
for i in ls:
o *= l
print ('Массив: ')
print(a)
print('\nПроизведение: ')
print(o)
#Python3
a = [] # двухмерный массив
while True:
try:
x = int(input('x = '))
y = int(input('y = '))
break
except:
pass
ls = []
for i in a:
for l in i:
if l > x and l < y:
ls.append(l)
o = 1
for i in ls:
o *= l
print ('Массив: ')
print(a)
print('\nПроизведение: ')
print(o)