summaryrefslogtreecommitdiff
path: root/progs/a44.py
blob: 60eb2f58fad0e5a1e03598c5dca3ba926cc28b7e (plain)
1
2
3
4
5
6
7
8
def get_product(val) : 
	res = 1
	for ele in val: 
		res *= ele 
	return res 
def find_k_product(test_list, K):
  res = get_product([sub[K] for sub in test_list])
  return (res)