Computer Science, asked by arvi7, 8 months ago

Program that generates a set of prime numbers and another set of even numbers
numbers. Demonstrate the result of union, intersection, difference and symmetric difference(in python) , i really need the full program and explanation​

Answers

Answered by anilpandeypac912
5

Answer:

Given two numbers

a and

b as interval range, the task is to find the prime numbers in between this interval.

Examples:

Input : a = 1, b = 10

Output : 2, 3, 5, 7

Input : a = 10, b = 20

Output : 11, 13, 17, 19

Answered by Angelsonam
1

Answer:

{\huge{\pink{\underline{\underline{Answer}}}}}

Given two numbers a

and

b as interval range,the task is to find the prime numbers in between these intervals

Examples:

Input:a=1,b=10

Output:2,3,5,7

Input:a=10,b=20

Output:11,13,17,19

Similar questions