<prompt> orodha1 1,2,3,4,5 orodha2 2,4,5,6,7Andika kazi ambayo hupata vipengele vya kawaida katika orodha mbili.  <response>: Find the common elements in two listsdef findCommonElementslist1, list2: initialize a list to store the common elements common_elements loop through list1 to find common elements in both lists for i in list1: if i in list2: common_elements.appendi return common_elementsif __name__ __main__: list1 1,2,3,4,5 list2 2,4,5,6,7 printfindCommonElementslist1, list2 