Write a program that inputs a number and tests if the given number is a multiple of both 3 and 5
Answers
Answered by
3
Heyaa!! Folk Here Is Your Answer
Answer: 0, 15, 30, 45, 60, 75, 90
Explanation:
def result(N):
for num in range(N):
if num % 3 == 0 and num % 5 == 0:
print(str(num) + " ",end = "")
else:
Pass
N = 100
print(N)
That's all Folk
So basically I'm pro in cs u can contact in related to any query
Answered by
1
Answer:
write a program that input a number and test if the gay number is a multiple of both 3 and 5.
ans
Attachments:
Similar questions