<prompt> Andika kazi ya kupata mpambano wa orodha mbili zilizotolewa.orodha1 1, 2, 3, 4 orodha2 3, 4, 5, 6  <response>: Here is one way to write a function to find the intersection of two given lists in Python:pythondef intersect_listslist1, list2: Create a set of the first list set1 setlist1 Find the intersection of the set and the second list intersection set1.intersectionlist2 Return the intersection as a list return listintersection Test the function with the given inputslist1 1, 2, 3, 4list2 3, 4, 5, 6result intersect_listslist1, list2printfThe intersection of list1 and list2 is: resultThis function converts the first list into a set and then uses the .intersection method to find the common elements between the set and the second list. The result is then converted back to a list and returned. You can test the function with the given inputs and it will return 3, 4 as the intersection of the two lists. 