0 out of 68 challenges solved
**Question:** Write a function called myzip that takes an arbitrary number of lists as input and zips them together. The function should create a list of lists, where the inner lists consist of the first elements from the given lists, then the second elements from the given lists, and so on. The function should return the zipped list. **Example:** Input: myzip([1, 2, 3], ['a', 'b', 'c'], [True, False, True]) Output: [[1, 'a', True], [2, 'b', False], [3, 'c', True]]
def myzip(*lists): """ Zips an arbitrary number of lists together and returns the zipped list. Args: *lists: The input lists. Returns: list: The zipped list. """ # TODO: Implement the myzip function pass