The program should print the entries which are divided into three without the remainder. The problem is "TypeError : not all arguments converted during string formatting python " in the bottom
numbers = [ ]
while True:
inputNumber = (input("Enter a number if you want to terminate this, please tap on 'q' : "))
if inputNumber == "q":
break
numbers.append(inputNumber)
sum = 0
for i in numbers:
sum+=int(i)
print("Sum of the inputs : ", sum)
#unexecutable lines
for i in numbers:
if(i%3 == 0):
print(i)
i%3,iis a string, not a number.