You’ve been provided with a starter code which contains sub-tasks as defined below:
Sub task 1: Convert the list list1 and list2 into tuples tup and tup1, respectively.
Sub task 2: Display the tuple generated after multiplying the adjacent elements of the tuple tup.
Sub task 3: Create a tuple res storing the element-wise AND of tup and tup1.
Sub task 4: Display the list generated after chunking tuple res into z size.