Page 1 of 1

Write a Python program that defines two lists (listl and list2), each containing ten integers and decides if the two lis

Posted: Sat Nov 27, 2021 2:18 pm
by answerhappygod
Write A Python Program That Defines Two Lists Listl And List2 Each Containing Ten Integers And Decides If The Two Lis 1
Write A Python Program That Defines Two Lists Listl And List2 Each Containing Ten Integers And Decides If The Two Lis 1 (43.16 KiB) Viewed 73 times
Write a Python program that defines two lists (listl 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 list and list2. Sample runs are given below: Sample runl: list 1: 1 4 9 16 9 7 list2: 11 1 16 9 4 9 The lists are identical 4 9 11 7 4 9 Sample run2: list 1: 1 4 9 16 97 4 1 11 list2: 11 1 16 9 4 9 7 4 9 The lists are not identical