Python Tutorial
Home
Python
Python Basic
Python Hand-on tutorial
Problem Solving
Python Advance Topic
Django
Artificial Intelligence
MySQL
Matchine Learning
Matchine Learning Tutorial
Motivation
......
About us
Contact us
Jobs
Affiliate disclosure
Privacy policy
Pages
Find Number
8.
Write a python program to find those numbers which are divisible by 7 and multiple of 5, between 1500 and 2700
# Solution:
n1=[]
for
x
in
range
(
1500
,
2700
):
if
(x%
7
==
0
)
and
(x%
5
==
0
): n1.append(x)
print
(n1)
No comments:
Post a Comment
< Previous
Next >
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment