Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a python program which takes in a range of numbers (2 numbers, both included) from user input and prints all the numbers divisible by

Write a python program which takes in a range of numbers (2 numbers, both included) from user input and prints all the numbers divisible by 7 and multiple of 5 in that range.

Include a warning message in this code for when the values entered won't be divisible by 7 or give multiple of 5.

Example:

User input: 2000, 2500

Output: 2030,2065,2100,2135,2170,2205,2240,2275,2310,2345,2380,2415,2450,2485

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions