- 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 71 times
Write a Python program that defines two lists (listl and list2), each containing ten integers and decides if the two lis
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a Python program that defines two lists (listl and list2), each containing ten integers and decides if the two lis
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