Page 1 of 1

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
by answerhappygod
Write A Python Program That Defines Two Lists List1 And List2 Each Containing Ten Integers And Decides If The Two Lis 1
Write A Python Program That Defines Two Lists List1 And List2 Each Containing Ten Integers And Decides If The Two Lis 1 (184.55 KiB) Viewed 64 times
How to make this list?
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