Skip to content

Find overlap between two lists #5

@researchgraphsafe

Description

@researchgraphsafe

Write a program that compares two lists:

list_1= [1,3,5,7,9,11,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99]

list_2= [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,53,55,57,59,61,63,65,67,73,75,77,79,81,83,85,91,93,95,97,99]

The program should answer the followings:
Q1 - What is in list 1 that is missing from list 2?
Q2 - What is in list 2 that is missing in list 1?
Q3 - What is common between list 1 and list 2?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions