print multiples of 3 in given N numbers
#print multiples of 3 in given N numbers s = (str(input("Enter numbers separated by SPACE: "))).split(" ") print("Multipl of 3 are: ") for r in range(0,len(s)): if(int(s[r])%3==0): print(s[r])
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