def interleave(a,b): #"cat" "dog" zipped = zip(a,b) #[("c","d"),("a","o"),("t","g")] joined_pair = ("".join(pair) for pair in zipped) #("cd","ao","tg") joined = "".join(joined_pair) #"cdaotg" return joined"""Write a function called triple_and_filter. This function should accept a list of numbers, filter out every number that is not divisible by 4, and return a new list where every remaining number is tripled."""# my solutiondef triple_and_filter(nums): a = list(filter(lambda x:x % 4 == 0, nums)) return [num*3 for num in a]# official solutiondef triple_and_filter(lst): return list(filter(lambda x: x % 4 == 0, map(lambda x: x*3, lst)))