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
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
1
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