Multiples of 3
You are given
The first line of input is an integer
N. The next N lines each contain an integer as input.
N = int(input()) data = [] for i in range(N): data.append(int(input())) for i in data: if i % 3 == 0: print(i)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment