Original article was published on Artificial Intelligence on Medium
Challenging Python Programs
A collection of some challenging python programs with solutions.
Write a program which will find all such numbers which are divisible by 7 but are not a multiple of 5,
between 2000 and 3000 (both included).
The numbers obtained should be printed in a comma-separated sequence on a single line.
a = 
for i in range(2000, 3001):
if (i%7==0) and (i%5!=0):
see full article- https://thecleverprogrammer.com/2020/05/18/challenging-python-programs/