# Write a Python program to Kth Column Product in Tuple List # Python3 code to demonstrate working of# Tuple List Kth Column Product# using list comprehension + loop  # getting Productdef prod(val) :    res = 1     for ele in val:        res *= ele    return res   # initialize listtest_list = [(5, 6, 7), (1, 3, 5), (8, 9, 19)]  # printing original listprint("The original list is : " + str(test_list))  # initialize KK = 2  # Tuple List Kth Column Product# using list comprehension + loopres = prod([sub[K] for sub in test_list])  # printing resultprint("Product of Kth Column of Tuple List : " + str(res))