
Implement weave, which combines two lists by taking turns of size elements from each, left first.
weave(["ant", "bee", "cat", "dog"], ["owl", "pig", "rat"], 2)['ant', 'bee', 'owl', 'pig', 'cat', 'dog', 'rat']weave(["tea"], ["jam", "oat", "fig"], 1)['tea', 'jam', 'oat', 'fig']weave([], ["elm", "yew"], 3)['elm', 'yew']weave.py
Run the tests to grade your code
Implement weave, which combines two lists by taking turns of size elements from each, left first.
weave(["ant", "bee", "cat", "dog"], ["owl", "pig", "rat"], 2)['ant', 'bee', 'owl', 'pig', 'cat', 'dog', 'rat']weave(["tea"], ["jam", "oat", "fig"], 1)['tea', 'jam', 'oat', 'fig']weave([], ["elm", "yew"], 3)['elm', 'yew']weave.py
Run the tests to grade your code
Variables will appear here