163k views
1 vote
5.16 LAB: Intersection of two lists Programming Objectives With two user input lists, such as the example below: [1,3,6,78,35,55] and [12,24,35,24,88,120,155], write a program to make a list whose elements are intersection (common) of the user input lists. Please note that redundant elements should be counted only once. Technical Descriptions Your program should interact with its user such that two lists of different number of elements can be arbitrarily specified through program input. With the lists above as an example:

User Rami GB
by
3.8k points

1 Answer

6 votes
Yeeeeeeeeeeeeeeeeeeeeeee
User BentoumiTech
by
3.2k points