Write a Python program that defines two lists (list1 and list2), each containing ten integers and decides if the two lis
Posted: Sat Nov 27, 2021 2:23 pm
Write a Python program that defines two lists (list1 and list2), each containing ten integers and decides if the two lists are identical (i.e. containing the same elements regardless of the order. Use initialization lists to construct list1 and list2. Sample runs are given below: Sample runl: listl: 1 4 9 16 9 7 4 9 11 list2: 11 1 16 9 4 9 7 4 9 The lists are identical Sample run2: listl: 1 4 9 16 9 7 4 1 11 list2: 11 1 16 9 4 9 7 4 9 The lists are not identical