Python - Filter Tuples Product greater than K
Given a Tuple list, extract all with product greater than K. Input : test_list = [(4, 5, 7), (1, 2, 3), (8, 4, 2), (2, 3, 4)], K = 50Â Output : [(4, 5, 7), (8, 4, 2)]Â Explanation : 140 and 64 are greater than 50, hence tuples extracted.Input : test_list = [(4, 5, 7), (1, 2, 3), (8, 4, 2), (2, 3, 4)