Write a Python program to count the number divisible by 3 from a given range of numbers.
Eg: if n is given as 15,the output must be 5 .(3,6 9,12,15 are the numbers please answer quickly anyone!!!
Answers
Answered by
0
Answer:
range = [3, 6, 9]
for i in range :
if range % 3 == 0 :
print(i/3)
else:
print("No. not divisible")
Similar questions