# Write a Python program to Remove Tuples of Length K # Python3 code to demonstrate working of # Remove Tuples of Length K# Using list comprehension  # initializing listtest_list = [(4, 5), (4, ), (8, 6, 7), (1, ), (3, 4, 6, 7)]  # printing original listprint("The original list : " + str(test_list))  # initializing K K = 1  # 1 liner to perform task# filter just lengths other than K # len() used to compute lengthres = [ele for ele in test_list if len(ele) != K]  # printing result print("Filtered list : " + str(res))