0 out of 68 challenges solved
**Question:** Write a function called interleave that takes an arbitrary number of lists as input and interleaves them. The function should return a new sequence where the elements from each input sequence are interleaved in order. **Example:** Input: interleave([1, 2, 3], ['a', 'b', 'c'], [True, False, True]) Output: [1, 'a', True, 2, 'b', False, 3, 'c', True]
def interleave(*lists): """ Interleaves an arbitrary number of lists and returns a new sequence. Args: *lists: The input lists. Returns: list: The interleaved sequence. """ # TODO: Implement the interleave function pass