Computer Science, asked by tpatel015, 3 months ago


78. is a list of common items present
in both the lists.
(a) Union
(b) Venn diagram
(c) Intersection (d) Both a and b​

Answers

Answered by Bhaveshmahaur
3

Answer:

not sure

(D) Both a and b

okkkkkkkkkkkkk

Answered by saifalam000000678
2

Intersection of two list means we need to take all those elements which are common to both of the initial lists and store them into another list. Now there are various ways in Python, through which we can perform the Intersection of the lists.

Examples:

Input :

lst1 = [15, 9, 10, 56, 23, 78, 5, 4, 9]

lst2 = [9, 4, 5, 36, 47, 26, 10, 45, 87]

Output :

[9, 10, 4, 5]

Input :

lst1 = [4, 9, 1, 17, 11, 26, 28, 54, 69]

lst2 = [9, 9, 74, 21, 45, 11, 63, 28, 26]

Output :

[9, 11, 26, 28]

Similar questions