Given three lists of the same length, interleave them. Example: [1,2], ['a','b'], [(1,1),(2,2)] => [1,'a',(1,1),2,'b',(2,2)]
Implement this function:
def interleave_lists(list1, list2, list3):
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: list1, list2, list3.
Input
[1, 2]
['a', 'b']
[(1, 1), (2, 2)]
Output
[1, 'a', (1, 1), 2, 'b', (2, 2)]