Tech Study

Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700

Introduction

Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700. I have used python 3.7 compiler for debugging purpose.

nl=[]
for x in range(500, 1350):
    if (x%7==0) and (x%5==0):
        nl.append(str(x))
print (','.join(nl))

Result

Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700
Write a Python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700

Taggedbetween 1500 and 2700Write a Python program to find those numbers which are divisible by 7 and multiple of 5

Java Final keyword

Introduction : java final keyword The final keyword present in Java programming language is generally used for restricting the user. …

Read more

C++ Memory Management: new and delete

C++ Memory Management We know that arrays store contiguous and the same type of memory blocks, so memory is allocated …

Read more