You are given N inputs. Print the given inputs until you encounter a multiple of 3
while i:
input1 = int(input('Enter input here: '))
if input1 % 3 != 0:
print(input1)
else:
break
Enter input here: 7
7
Enter input here: 8
8
Enter input here: 10
10
Enter input here: 6
Comments
Leave a comment