Question
Once you have received inputs for X and Y your progran should output the following 1. Output the number of integers between X and Y
Once you have received inputs for X and Y your progran should output the following
1. Output the number of integers between X and Y (both
Included)
2. Output all Integers between X and Y (both included) on a line
3. Output all integers between X and Y (both Included) that are divisible by both 5 and 18 but not by 15
iv. Output all prime integers between X and Y (both included).
Prime Integers are integers that are divisible by 1 and itself only such as 2, 3, 5, 7, 11, 13 etc
v. Output the number of prime integers between X and Y (both included). prime integers are Integers that are divisible by 1 and Itself only such as 2, 3, 5, 7, 11, 13 etc
in python coding
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started